From 1091e4ee86e7ebda7a262affbf52899a0e5311b5 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Fri, 7 Dec 2012 08:21:38 -0500 Subject: fixed remote menu memory bug --- menus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menus.c') 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; -- cgit