Permalink
Browse files

bugfix: when decreasing the window size, the scroll bar now updates

correctly
  • Loading branch information...
1 parent 5f04b9a commit 20280f5463c7869e761582a1c46afdc074863701 @vaifrax committed Mar 23, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 metapad.c
View
@@ -5166,6 +5166,7 @@ LONG WINAPI MainWndProc(HWND hwndMain, UINT Msg, WPARAM wParam, LPARAM lParam)
break;
}
case WM_SIZING:
+ InvalidateRect(client, NULL, FALSE); // ML: for decreasing window size, update scroll bar
break;
case WM_SIZE: {
if (client == NULL) break;

0 comments on commit 20280f5

Please sign in to comment.