[NOTEPAD] Remove some needless type casts (#5134)

CORE-18837
This commit is contained in:
Katayama Hirofumi MZ 2023-03-09 08:23:08 +09:00 committed by GitHub
parent abece16776
commit bc89074cd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -210,7 +210,7 @@ void NOTEPAD_LoadSettingsFromRegistry(void)
}
hFont = CreateFontIndirect(&Globals.lfFont);
SendMessage(Globals.hEdit, WM_SETFONT, (WPARAM)hFont, (LPARAM)TRUE);
SendMessage(Globals.hEdit, WM_SETFONT, (WPARAM)hFont, TRUE);
if (hFont)
{
if (Globals.hFont)