diff options
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -233,7 +233,7 @@ static void update_remote_mode () if (gpib_remote) { globals.Remote.mode += RM_REM; } - if (globals.Remote.connections > 0) { + if (globals.Remote.terminal_connections > 0) { globals.Remote.mode += RM_TERM; } @@ -912,13 +912,13 @@ void Show_Main_Menu(void) break; case (RM_TERM | RM_NOT_REM | RM_NOT_LOCK): case (RM_TERM | RM_NOT_REM | RM_LOCK): - ctrl_str = g_strdup_printf ("LOCAL+%dTER", globals.Remote.connections); + ctrl_str = g_strdup_printf ("LOCAL+%dTER", globals.Remote.terminal_connections); break; case (RM_TERM | RM_REM | RM_NOT_LOCK): - ctrl_str = g_strdup_printf ("LO+GPIB+%dTER", globals.Remote.connections); + ctrl_str = g_strdup_printf ("LO+GPIB+%dTER", globals.Remote.terminal_connections); break; case (RM_TERM | RM_REM | RM_LOCK): - ctrl_str = g_strdup_printf ("GPIB+%dTER", globals.Remote.connections); + ctrl_str = g_strdup_printf ("GPIB+%dTER", globals.Remote.terminal_connections); break; default: ctrl_str = g_strdup ("LOCAL"); |