diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-07 08:21:38 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-07 08:21:38 -0500 |
commit | 1091e4ee86e7ebda7a262affbf52899a0e5311b5 (patch) | |
tree | f1f997dc20245266b0933e6cba91a2abe9818667 | |
parent | 7cd01f287c8a48da5007ae9bc586148cef7f63e6 (diff) |
fixed remote menu memory bug
-rw-r--r-- | menus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |