diff --git a/src/userinput.c b/src/userinput.c index 3211732..73611a0 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -98,6 +98,9 @@ char *gets(char *message, unsigned long *minLength, unsigned long *maxLength) { } void printlf(long double value) { + if (fakeInput != NULL) { + return; + } if (roundl(value) == value) { printf("%.0Lf", value); }