Zebediah Figura : regedit: Fix updating the scrollbar in the hex edit dialog.

Alexandre Julliard julliard at winehq.org
Mon Mar 12 17:40:25 CDT 2018


Module: wine
Branch: master
Commit: 80ec0bc4b2291d7c3c85940ede1ef867475444f0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=80ec0bc4b2291d7c3c85940ede1ef867475444f0

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sun Mar 11 12:28:34 2018 -0500

regedit: Fix updating the scrollbar in the hex edit dialog.

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

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list