Skip to content

Commit 725975b

Browse files
fix example
1 parent e001569 commit 725975b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ int main() {
100100

101101
while (running) {
102102
while (RGFW_window_checkEvent(win)) { // or RGFW_window_checkEvents(); if you only want callbacks
103-
if (win->event.type == RGFW_quit || !RGFW_isPressedI(win, RGFW_Escape)) {
103+
if (win->event.type == RGFW_quit || RGFW_isPressed(win, RGFW_Escape)) {
104104
running = 0;
105105
break;
106106
}

0 commit comments

Comments
 (0)