Browse Source

testime.c: fix wrong {} in switch

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

+ 0 - 2
test/testime.c

@@ -708,7 +708,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;
@@ -783,7 +782,6 @@ int main(int argc, char *argv[])
                 cursor = event.edit.start;
                 Redraw();
                 break;
-            } break;
             }
         }
     }