Skip to content
Browse files

Merge pull request #1 from vaifrax/master

bugfix for vertical scroll bar update when decreasing window size
  • Loading branch information...
2 parents 5f04b9a + 20280f5 commit 428e8724d3deafa09a3c03d4596fe498dcb5c504 @alexd committed May 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 metapad.c
View
1 metapad.c
@@ -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 428e872

Please sign in to comment.
Something went wrong with that request. Please try again.