Skip to content

Commit

Permalink
fix typo (macOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jul 27, 2024
1 parent 719fbfb commit 6cb6385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -6523,7 +6523,7 @@ RGFW_UNUSED(win); /*!< if buffer rendering is not being used */
win->event.type = RGFW_keyPressed;
char* str = (char*)(const char*) NSString_to_char(objc_msgSend_id(e, sel_registerName("characters")));
strncpy(win->event.keyName, str, 16);
win->event.repeat = RGFW_isPressed(win, swin->event.keyCode);
win->event.repeat = RGFW_isPressed(win, win->event.keyCode);
RGFW_keyboard[win->event.keyCode].current = 1;

RGFW_keyCallback(win, win->event.keyCode, win->event.keyName, win->event.lockState, 1);
Expand Down

0 comments on commit 6cb6385

Please sign in to comment.