aboutsummaryrefslogtreecommitdiff
path: root/src/smapc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smapc.c')
-rw-r--r--src/smapc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smapc.c b/src/smapc.c
index 88ddb0c..422afcd 100644
--- a/src/smapc.c
+++ b/src/smapc.c
@@ -647,13 +647,13 @@ read_eval_loop(FILE *fp, int interactive)
647 rl_attempted_completion_function = _command_completion; 647 rl_attempted_completion_function = _command_completion;
648 read_history(get_history_file_name()); 648 read_history(get_history_file_name());
649 } 649 }
650#endif 650#endif
651 if (interactive && !quiet_startup) 651 if (interactive && !quiet_startup)
652 shell_banner(); 652 shell_banner();
653 while (p = get_input_line(fp, interactive)) { 653 while ((p = get_input_line(fp, interactive))) {
654#ifdef WITH_READLINE 654#ifdef WITH_READLINE
655 if (interactive) { 655 if (interactive) {
656 if (retrieve_history(p)) 656 if (retrieve_history(p))
657 continue; 657 continue;
658 add_history(p); 658 add_history(p);
659 } 659 }

Return to:

Send suggestions and report system problems to the System administrator.