testime.c: fix wrong {} in switch

This commit is contained in:
Sylvain
2022-12-15 14:26:18 +01:00
parent ff3f4236f2
commit ffaf451558
-2
View File
@@ -708,7 +708,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;
@@ -783,7 +782,6 @@ int main(int argc, char *argv[])
cursor = event.edit.start; cursor = event.edit.start;
Redraw(); Redraw();
break; break;
} break;
} }
} }
} }