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

View file

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