summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 15:06:15 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 15:06:15 -0500
commitec3a5e6b3b28184ea7075c6de9d3e95ae37a7c4c (patch)
tree55c7e9e7cc2ba5bbbd98bd03c6c6e7eecb75ac19 /menus.c
parent8c63fc997dbfa0e6268537482df97d0fa744010a (diff)
keep track of shell and VXI connections separately
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");