Skip to content

Commit

Permalink
Try to fix "CreateWindow() failed: operation succeeded" problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Koromix committed Nov 19, 2021
1 parent e83345d commit 3d33863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libhs/monitor_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ static LRESULT __stdcall window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM
} break;
}

return DefWindowProc(hwnd, msg, wparam, lparam);
return DefWindowProcA(hwnd, msg, wparam, lparam);
}

static void unregister_monitor_class(void)
Expand Down

0 comments on commit 3d33863

Please sign in to comment.