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:
parent
c52cfd3129
commit
80ec0bc4b2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue