We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6063c55 commit cda4b3aCopy full SHA for cda4b3a
src/platform/windows/windows_events.c
@@ -167,7 +167,7 @@ LCUI_AppDriver LCUI_CreateWinAppDriver( void )
167
wndclass.hCursor = LoadCursor( NULL, IDC_ARROW );
168
wndclass.hIcon = LoadIcon( win.dll_instance,
169
MAKEINTRESOURCE( IDI_LCUI_ICON ) );
170
- if( !RegisterClass( &wndclass ) ) {
+ if( !RegisterClassW( &wndclass ) ) {
171
wchar_t str[256];
172
swprintf( str, 255, __FUNCTIONW__
173
L": error code: %d\n", GetLastError() );
0 commit comments