This commit is contained in:
Vincent Wei
2022-11-27 15:59:52 +08:00
parent 356bf08c4b
commit 81c061c3c8
+2 -3
View File
@@ -93,9 +93,8 @@ void GUIAPI SetAutoRepeatMessage (HWND hWnd, UINT uMsg,
{
MSG msg;
if (hWnd) {
if (!MG_IS_NORMAL_WINDOW(hWnd))
return;
if (hWnd && !MG_IS_NORMAL_WINDOW(hWnd)) {
return;
}
msg.hwnd = hWnd;