Skip to content

Commit 093b130

Browse files
authored
Merge pull request pygame#1412 from charlesej/fix-compile-error
Fix compile error due to missing declaration
2 parents b5bb7c6 + c1f0e55 commit 093b130

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src_c/event.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ pg_event_filter(void *_, SDL_Event *event)
137137
#pragma PG_WARN(Add event blocking here.)
138138

139139
else if (type == SDL_KEYDOWN) {
140+
SDL_Event inputEvent[2];
140141
if (event->key.repeat) {
141142
return 0;
142143
}

0 commit comments

Comments
 (0)