Pārlūkot izejas kodu

Fixed error C2059: syntax error: '}'

Fixes https://github.com/libsdl-org/SDL/issues/12155
Sam Lantinga 2 mēneši atpakaļ
vecāks
revīzija
235022fe2f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      examples/pen/01-drawing-lines/drawing-lines.c

+ 1 - 1
examples/pen/01-drawing-lines/drawing-lines.c

@@ -99,7 +99,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event)
 /* This function runs once per frame, and is the heart of the program. */
 SDL_AppResult SDL_AppIterate(void *appstate)
 {
-    char debug_text[1024] = {};
+    char debug_text[1024];
 
     /* make sure we're drawing to the window and not the render target */
     SDL_SetRenderTarget(renderer, NULL);