From 4021c78435ab6044ed78ef06e46bf075beb2a959 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 4 Apr 2024 21:03:52 +0200 Subject: Did some changes to the external variable so that it resets to 1 each time. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index c94aaa3..41ff0f5 100644 --- a/input.c +++ b/input.c @@ -8,7 +8,7 @@ #include "i_validation.h" #include -int clfstdin_doubleprint; // variable accessed via extern int in startmode so that it does not print '?' 2 times in a row +int clfstdin_doubleprint = 1; // variable accessed via extern int in startmode so that it does not print '?' 2 times in a row int check_length_fix_stdin(char *smode_buf) { -- cgit v1.2.3