summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 01:18:14 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 01:18:14 +0900
commit37097b33a4f0dbbf8d3b48d37416e6bec8b6b79e (patch)
tree7031c44715b433b38f064465e66543cffbcdae89 /parser.c
parentd7f742964e475804daf0211ea0825efa4bf4bf64 (diff)
reduce duplicate prompts in multi-line handlingINSTRUMENT_6_4_07c
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/parser.c b/parser.c
index 1c3adde..684a46c 100644
--- a/parser.c
+++ b/parser.c
@@ -1123,15 +1123,15 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer
/* re-run error_check to update min/max values based on actual settings, not proposed settings */
Error_check(globals.ChannelState);
- // trigger a prompt
- if (interactive_terminal) {
- (*cbfunc)(user_data, "");
- }
-
g_free (in);
}
g_strfreev (v);
+ // trigger a prompt
+ if (interactive_terminal) {
+ (*cbfunc)(user_data, "");
+ }
+
g_static_mutex_unlock (&mutex);
}