Skip to content

Commit

Permalink
add missing KillTimer call
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Oct 5, 2024
1 parent 4af2dae commit 4fdc98e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wndproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
{
if (width != g_ddraw.render.width || height != g_ddraw.render.height)
{
KillTimer(g_ddraw.hwnd, IDT_TIMER_LINUX_FIX_WINDOW_SIZE);

g_config.window_rect.right = width;
g_config.window_rect.bottom = height;

Expand Down

0 comments on commit 4fdc98e

Please sign in to comment.