Skip to content

Commit cda4b3a

Browse files
committed
RegisterClass -> RegisterClassW
1 parent 6063c55 commit cda4b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/windows/windows_events.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ LCUI_AppDriver LCUI_CreateWinAppDriver( void )
167167
wndclass.hCursor = LoadCursor( NULL, IDC_ARROW );
168168
wndclass.hIcon = LoadIcon( win.dll_instance,
169169
MAKEINTRESOURCE( IDI_LCUI_ICON ) );
170-
if( !RegisterClass( &wndclass ) ) {
170+
if( !RegisterClassW( &wndclass ) ) {
171171
wchar_t str[256];
172172
swprintf( str, 255, __FUNCTIONW__
173173
L": error code: %d\n", GetLastError() );

0 commit comments

Comments
 (0)