Skip to content

Commit

Permalink
#1950: better fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed May 26, 2024
1 parent a6d0e4d commit dd80ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio/studio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ static bool showGameMenu(Studio* studio)
tic_mem* tic = studio->tic;

char tag[TICNAME_MAX];
sprintf(tag, "%s menu:", tic_get_script(tic)->singleComment);
snprintf(tag, sizeof tag, "\n%s menu:", tic_get_script(tic)->singleComment);

return strstr(tic->cart.code.data, tag);
}
Expand Down

0 comments on commit dd80ac9

Please sign in to comment.