Skip to content

Commit

Permalink
RegisterClass -> RegisterClassW
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Apr 18, 2017
1 parent 6063c55 commit cda4b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/windows/windows_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ LCUI_AppDriver LCUI_CreateWinAppDriver( void )
wndclass.hCursor = LoadCursor( NULL, IDC_ARROW );
wndclass.hIcon = LoadIcon( win.dll_instance,
MAKEINTRESOURCE( IDI_LCUI_ICON ) );
if( !RegisterClass( &wndclass ) ) {
if( !RegisterClassW( &wndclass ) ) {
wchar_t str[256];
swprintf( str, 255, __FUNCTIONW__
L": error code: %d\n", GetLastError() );
Expand Down

0 comments on commit cda4b3a

Please sign in to comment.