diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-07 15:06:15 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-07 15:06:15 -0500 |
commit | ec3a5e6b3b28184ea7075c6de9d3e95ae37a7c4c (patch) | |
tree | 55c7e9e7cc2ba5bbbd98bd03c6c6e7eecb75ac19 /menus.c | |
parent | 8c63fc997dbfa0e6268537482df97d0fa744010a (diff) |
keep track of shell and VXI connections separately
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"); |