summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 56acef620..0e5aeaf85 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -814,13 +814,13 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
}
break;
- case WM_MOVE:
+ case WM_MOVE: {
resize_bug_fix = window;
int nx = LOWORD(lParam);
int ny = HIWORD(lParam);
if (nx & 0x8000) nx -= 65536;
if (ny & 0x8000) ny -= 65536;
- window->position(nx, ny);
+ window->position(nx, ny); }
break;
case WM_SETCURSOR: