Skip to content

Commit

Permalink
Fix [ac7c1fa381]: Crash at Tk startup, introduced by [6b7d9bbd37].
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogelnew1 committed Oct 19, 2024
1 parent d4a397c commit deebd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/tkFrame.c
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ TkInstallFrameMenu(
Tcl_Panic("TkInstallFrameMenu couldn't get frame pointer");
}
TkpMenuNotifyToplevelCreate(winPtr->mainPtr->interp,
Tcl_GetString(framePtr->menuNameObj));
(framePtr->menuNameObj ? Tcl_GetString(framePtr->menuNameObj) : NULL));
}
}

Expand Down

0 comments on commit deebd8f

Please sign in to comment.