Browse Source

testime.c: fix wrong {} in switch

Sylvain 2 years ago
parent
commit
8e72be3117
1 changed files with 0 additions and 2 deletions
  1. 0 2
      test/testime.c

+ 0 - 2
test/testime.c

@@ -689,7 +689,6 @@ int main(int argc, char *argv[])
             SDLTest_CommonEvent(state, &event, &done);
             SDLTest_CommonEvent(state, &event, &done);
             switch (event.type) {
             switch (event.type) {
             case SDL_KEYDOWN:
             case SDL_KEYDOWN:
-            {
                 switch (event.key.keysym.sym) {
                 switch (event.key.keysym.sym) {
                 case SDLK_RETURN:
                 case SDLK_RETURN:
                     text[0] = 0x00;
                     text[0] = 0x00;
@@ -764,7 +763,6 @@ int main(int argc, char *argv[])
                 cursor = event.edit.start;
                 cursor = event.edit.start;
                 Redraw();
                 Redraw();
                 break;
                 break;
-            } break;
             }
             }
         }
         }
     }
     }