diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index 4a25d86..f81291b 100644 Binary files a/build/test/out/c/quizduell.o and b/build/test/out/c/quizduell.o differ diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index e00491b..057d583 100644 Binary files a/build/test/out/test_quizduell.out and b/build/test/out/test_quizduell.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index f60eb2d..8cbf9ab 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.025510799983749166 +:time: 0.01942100000451319 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 4428cd2..9aee039 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -51,4 +51,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.045171999983722344 +:time: 0.02023269998608157 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 103c5e2..d0fbaa1 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.02026409999234602 +:time: 0.018594499997561797 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 937bea4..b95728e 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.020749499992234632 +:time: 0.018404699978418648 diff --git a/src/quizduell.c b/src/quizduell.c index c0cc856..c8e6863 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -94,7 +94,7 @@ int spieleKategorie(Kategorie* kategorie) { } printf("Your answer: "); - scanf("%s", benutzerAntwort); + scanf("%9s", benutzerAntwort); benutzerAntwort[0] = toupper(benutzerAntwort[0]); getchar();