Skip to content

Commit

Permalink
SDL2: remove menu entry to close window 0
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardsEric authored and NickMcConnell committed Nov 7, 2024
1 parent 66578d8 commit 47ce872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main-sdl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ static struct sdlpui_dialog *handle_menu_windows(struct sdlpui_control *ctrl,
dlg, ctrl, MAX_WINDOWS, true, false, NULL, 0);
unsigned int i;

for (i = 0; i < MAX_WINDOWS; ++i) {
for (i = 1; i < MAX_WINDOWS; ++i) {
struct sdlpui_control *c = sdlpui_get_simple_menu_next_unused(
result, SDLPUI_MFLG_NONE);

Expand Down

0 comments on commit 47ce872

Please sign in to comment.