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@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-03-11 12:28:34 -05:00 committed by Alexandre Julliard
parent c52cfd3129
commit 80ec0bc4b2
1 changed files with 2 additions and 0 deletions

View File

@ -530,6 +530,8 @@ HexEdit_SetFont (HEXEDIT_INFO *infoPtr, HFONT hFont, BOOL redraw)
} }
} }
HexEdit_UpdateScrollbars(infoPtr);
if (infoPtr->hFont) if (infoPtr->hFont)
SelectObject(hdc, hOldFont); SelectObject(hdc, hOldFont);
ReleaseDC (infoPtr->hwndSelf, hdc); ReleaseDC (infoPtr->hwndSelf, hdc);