aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-09-21 21:31:20 +0200
committerStapleButter <thetotalworm@gmail.com>2017-09-21 21:31:20 +0200
commit8e41ed751e8a1937b2e50942b44bfaeba92976cd (patch)
treebcf83e67cecba22aa7c1e2ba636b68fe7396d80f
parent65b332b15299b58d6cd036ae3e71dff5e1599276 (diff)
change 'pause' menu item to a proper check item. GTK is picky about it.
-rw-r--r--src/libui_sdl/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp
index 48c5987..e426ec9 100644
--- a/src/libui_sdl/main.cpp
+++ b/src/libui_sdl/main.cpp
@@ -407,7 +407,7 @@ int main(int argc, char** argv)
menu = uiNewMenu("System");
menuitem = uiMenuAppendItem(menu, "Run");
uiMenuItemOnClicked(menuitem, OnRun, NULL);
- menuitem = uiMenuAppendItem(menu, "Pause");
+ menuitem = uiMenuAppendCheckItem(menu, "Pause");
uiMenuItemOnClicked(menuitem, OnPause, NULL);
MenuItem_Pause = menuitem;
uiMenuAppendSeparator(menu);