From ec3a5e6b3b28184ea7075c6de9d3e95ae37a7c4c Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" <mjc@avtechpulse.com> Date: Fri, 7 Dec 2012 15:06:15 -0500 Subject: keep track of shell and VXI connections separately --- menus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'menus.c') 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"); -- cgit