Backport simplify flags PR #7220
This commit is contained in:
1 parent
f71178a16f
commit
17515f4aef
40 files changed
+176
-175
No files matched your search
@@ -530,7 +530,7 @@ WatchJoystick(SDL_Joystick *joystick)
|
||||
break;
|
||||
}
|
||||
|
||||
if ((event.key.keysym.sym != SDLK_ESCAPE)) {
|
||||
if (event.key.keysym.sym != SDLK_ESCAPE) {
|
||||
break;
|
||||
}
|
||||
SDL_FALLTHROUGH;
|
||||
@@ -746,7 +746,7 @@ int main(int argc, char *argv[])
|
||||
while (SDL_PollEvent(&event) > 0) {
|
||||
switch (event.type) {
|
||||
case SDL_KEYDOWN:
|
||||
if ((event.key.keysym.sym != SDLK_ESCAPE)) {
|
||||
if (event.key.keysym.sym != SDLK_ESCAPE) {
|
||||
break;
|
||||
}
|
||||
SDL_FALLTHROUGH;
|
||||
|
||||
Reference in new issue
Block a user