Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Koschik committed Jan 9, 2025
1 parent 50dc2ee commit f9daf14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/interactivity/win32/windowproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,10 @@ static constexpr TsfDataProvider s_tsfDataProvider;

case WM_GETDPISCALEDSIZE:
{
LRESULT result = _HandleGetDpiScaledSize((WORD)wParam, (SIZE*)lParam);
const LRESULT result = _HandleGetDpiScaledSize(
static_cast<WORD>(wParam), static_cast<SIZE*>(lParam));
UnlockConsole();
return TRUE;
return result;
}

case WM_DPICHANGED:
Expand Down

0 comments on commit f9daf14

Please sign in to comment.