[PATCH 4/4] regedit: Fix updating the scrollbar in the hex edit dialog.

Zebediah Figura z.figura12 at gmail.com
Sun Mar 11 12:28:34 CDT 2018


The scrollbar should be updated every time the line width is recalculated.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 programs/regedit/hexedit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/programs/regedit/hexedit.c b/programs/regedit/hexedit.c
index e9729eb..c7bdd0a 100644
--- a/programs/regedit/hexedit.c
+++ b/programs/regedit/hexedit.c
@@ -530,6 +530,8 @@ HexEdit_SetFont (HEXEDIT_INFO *infoPtr, HFONT hFont, BOOL redraw)
         }
     }
 
+    HexEdit_UpdateScrollbars(infoPtr);
+
     if (infoPtr->hFont)
         SelectObject(hdc, hOldFont);
     ReleaseDC (infoPtr->hwndSelf, hdc);
-- 
2.7.4




More information about the wine-devel mailing list