From 8c648af4de85b2bea278c93d1126b442159d62b6 Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Wed, 11 Mar 2009 04:22:32 -0800 Subject: [PATCH] Fix bug with text window, where it scrolled up of its own intiative when resized. [git-p4: depot-paths = "//depot/solvespace/": change = 1927] --- win32/w32main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/w32main.cpp b/win32/w32main.cpp index 99edf4c..509fe2e 100644 --- a/win32/w32main.cpp +++ b/win32/w32main.cpp @@ -490,7 +490,7 @@ done: (r.bottom - r.top), TRUE); // If the window is growing, then the scrollbar position may // be moving, so it's as if we're dragging the scrollbar. - HandleTextWindowScrollBar(0, 0); + HandleTextWindowScrollBar(-1, -1); InvalidateRect(TextWnd, NULL, FALSE); break; }