Skip to content

Commit

Permalink
sokol_app.h emsc: fix a comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Dec 30, 2023
1 parent f6aa461 commit 3557222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sokol_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -5337,7 +5337,7 @@ _SOKOL_PRIVATE EM_BOOL _sapp_emsc_key_cb(int emsc_type, const EmscriptenKeyboard
_sapp.event.key_repeat = emsc_event->repeat;
_sapp.event.modifiers = _sapp_emsc_key_event_mods(emsc_event);
if (type == SAPP_EVENTTYPE_CHAR) {
// NOTE: cahrCode doesn't appear to be supported on Android Chrome
// NOTE: charCode doesn't appear to be supported on Android Chrome
_sapp.event.char_code = emsc_event->charCode;
} else {
if (0 != emsc_event->code[0]) {
Expand Down

0 comments on commit 3557222

Please sign in to comment.