summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-04-04 21:03:52 +0200
committerOskar <[email protected]>2024-04-04 21:03:52 +0200
commit4021c78435ab6044ed78ef06e46bf075beb2a959 (patch)
treeb297ce51bb3a8ddcc5aaee0dd4375260c8aaef17 /input.c
parentd64a70597d4d5af00d8b372bebf271ad068eadb4 (diff)
Did some changes to the external variable so that it resets to 1 each
time.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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 <stdint.h>
-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) {