summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 08:21:38 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 08:21:38 -0500
commit1091e4ee86e7ebda7a262affbf52899a0e5311b5 (patch)
treef1f997dc20245266b0933e6cba91a2abe9818667 /menus.c
parent7cd01f287c8a48da5007ae9bc586148cef7f63e6 (diff)
fixed remote menu memory bug
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menus.c b/menus.c
index 9b8668b..812695c 100644
--- a/menus.c
+++ b/menus.c
@@ -1471,8 +1471,7 @@ static void Submenu_Display(int change_selection)
break;
- case Submenu1_rem_loc: //0123456789012345678901234567890123456789
- title = g_strdup ("GPIB interface already in local mode.");
+ case Submenu1_rem_loc:
if (globals.Remote.mode == (RM_REM | RM_NOT_LOCK)) {
Submenu_max_entry=1;
@@ -1481,6 +1480,7 @@ static void Submenu_Display(int change_selection)
Submenu_Structure[1]=mode_exit_normal_submenu;
} else {
Submenu_max_entry=0;
+ title = g_strdup ("GPIB interface already in local mode.");
Submenu_Structure[0]=mode_exit_normal_submenu;
}
break;