summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-14 00:33:42 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-14 00:33:42 +0000
commitcfadc42b7132da4e37c356f09e04c69f9d5bd409 (patch)
treee66f4cc372c1a8d627ee19c07c073a3796389a0c /src/osd
parentb58d08db4b4681d50ce030ccdbec28f574c563b2 (diff)
02740: resizing the debug window, the text is only in the old area
(Can't believe people still run with live resizing/dragging turned off :)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/windows/debugwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c
index ba338e8f06f..e005a9d4b36 100644
--- a/src/osd/windows/debugwin.c
+++ b/src/osd/windows/debugwin.c
@@ -691,8 +691,9 @@ static LRESULT CALLBACK debugwin_window_proc(HWND wnd, UINT message, WPARAM wpar
}
// sizing: recompute child window locations
+ case WM_SIZE:
case WM_SIZING:
- if (info->recompute_children)
+ if (info->recompute_children != NULL)
(*info->recompute_children)(info);
InvalidateRect(wnd, NULL, FALSE);
break;