浏览代码

Move default

DamianS-eng 1 年之前
父节点
当前提交
80ff0f45fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/demo/01-snake/snake.c

+ 1 - 1
examples/demo/01-snake/snake.c

@@ -380,9 +380,9 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event)
     case SDL_EVENT_KEY_DOWN:
         return handle_key_event_(ctx, event->key.scancode);
         break;
-    }
     default:
         break;
+    }
     return SDL_APP_CONTINUE;
 }