device: fix failure to open message-only window

Not sure why I was getting this, but this seems to fix it
This commit is contained in:
rdb 2020-04-13 13:27:36 +02:00
parent c40aa7addc
commit 00305bccae

View File

@ -521,7 +521,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
default:
break;
}
return DefWindowProcW(hwnd, msg, wparam, lparam);
return DefWindowProc(hwnd, msg, wparam, lparam);
}
#ifdef HAVE_THREADS