summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/menus.c b/menus.c
index 812695c..b035b9a 100644
--- a/menus.c
+++ b/menus.c
@@ -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");