mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 17:00:31 +00:00
[CHARMAP] Fix status bar not being refreshed (#7924)
Ensure SetCaretXY() is called when the charset is changed, or a new font is being set. CORE-19838
This commit is contained in:
parent
8b6907f2a6
commit
0a6bcfc9ff
1 changed files with 2 additions and 0 deletions
|
@ -801,11 +801,13 @@ MapWndProc(HWND hwnd,
|
|||
infoPtr->CurrentFont.lfFaceName,
|
||||
SIZEOF(lfFaceName));
|
||||
SetFont(infoPtr, lfFaceName);
|
||||
SetCaretXY(infoPtr, infoPtr->CaretX, infoPtr->CaretY, FALSE, TRUE);
|
||||
break;
|
||||
|
||||
case FM_SETFONT:
|
||||
infoPtr->CaretX = infoPtr->CaretY = infoPtr->iYStart = 0;
|
||||
SetFont(infoPtr, (LPWSTR)lParam);
|
||||
SetCaretXY(infoPtr, infoPtr->CaretX, infoPtr->CaretY, FALSE, TRUE);
|
||||
break;
|
||||
|
||||
case FM_GETCHAR:
|
||||
|
|
Loading…
Reference in a new issue