The scrollbar should be updated every time the line width is recalculated.
Signed-off-by: Zebediah Figura z.figura12@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);