diff --git a/cv1/program.c b/cv1/program.c index 4a2305f..be31ec9 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -67,6 +67,10 @@ int main() { fgets(search, LINESIZE, stdin); search[strcspn(search, "\n")] = '\0'; + for (int i = 0; search[i]; i++) { + search[i] = tolower(search[i]); + } + printf("Zadaj jedalny listok:\n"); while (read_pizza(&menu[count])) { count++;