summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menus.c b/menus.c
index 4c47319..6608b33 100644
--- a/menus.c
+++ b/menus.c
@@ -262,7 +262,7 @@ void Show_Main_Menu(void)
if (!globals.Sys.startup_complete) return;
- GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
g_static_mutex_lock (&mutex); // can be triggered simultaneously by local or remote users
GString *menu_string = g_string_new ("");