Browse Source

refactoring: exchanged printf with printText

remotes/origin/userinput
TheUltimateOptimist 11 months ago
parent
commit
f5cda7cfc6
  1. 2
      src/userinput.c

2
src/userinput.c

@ -104,7 +104,7 @@ char *gets(char *message, unsigned long *minLength, unsigned long *maxLength) {
printText(" Zeichen lang sein.\n"); printText(" Zeichen lang sein.\n");
} }
else if (maxLength != NULL && minLength == NULL) { else if (maxLength != NULL && minLength == NULL) {
printf("Die Eingabe darf maximal ");
printText("Die Eingabe darf maximal ");
printlf(*maxLength); printlf(*maxLength);
printText(" Zeichen lang sein.\n"); printText(" Zeichen lang sein.\n");
} }

Loading…
Cancel
Save