Commit 80ec0bc4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c52cfd31
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment