Skip to content

Commit 235022f

Browse files
committed
Fixed error C2059: syntax error: '}'
Fixes #12155
1 parent dc13a6a commit 235022f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event)
9999
/* This function runs once per frame, and is the heart of the program. */
100100
SDL_AppResult SDL_AppIterate(void *appstate)
101101
{
102-
char debug_text[1024] = {};
102+
char debug_text[1024];
103103

104104
/* make sure we're drawing to the window and not the render target */
105105
SDL_SetRenderTarget(renderer, NULL);

0 commit comments

Comments
 (0)