Skip to content

Commit 69d9d34

Browse files
committed
Replace with
1 parent 472f3ab commit 69d9d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDL.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ appLoop renderer = do
142142
'keyboardEventKeyMotion' keyboardEvent == 'Pressed' &&
143143
'keysymKeycode' ('keyboardEventKeysym' keyboardEvent) == 'KeycodeQ'
144144
_ -> False
145-
qPressed = not (null (filter eventIsQPress events))
145+
qPressed = any eventIsQPress events
146146
'rendererDrawColor' renderer '$=' V4 0 0 255 255
147147
'clear' renderer
148148
'present' renderer

0 commit comments

Comments
 (0)