Commit 8e72be31171dc4891169fa99ee78aaf4c0f20367

Sylvain 2022-12-15T14:26:18

testime.c: fix wrong {} in switch

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/test/testime.c b/test/testime.c
index 3e8cd97..318231a 100644
--- a/test/testime.c
+++ b/test/testime.c
@@ -689,7 +689,6 @@ int main(int argc, char *argv[])
             SDLTest_CommonEvent(state, &event, &done);
             switch (event.type) {
             case SDL_KEYDOWN:
-            {
                 switch (event.key.keysym.sym) {
                 case SDLK_RETURN:
                     text[0] = 0x00;
@@ -764,7 +763,6 @@ int main(int argc, char *argv[])
                 cursor = event.edit.start;
                 Redraw();
                 break;
-            } break;
             }
         }
     }