From c063357afc3a412b9ec6d67c60bafbd8f93cd6a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Cabra?= Date: Fri, 25 Oct 2019 11:06:35 +0000 Subject: [PATCH] Aktualizovat "program.c --- program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program.c b/program.c index c44ed52..2b1cdc7 100644 --- a/program.c +++ b/program.c @@ -31,7 +31,7 @@ int compare_pizza(const void * left, const void * right) { else if(a->name[i]=='\r' || b->name[i]=='\r'){ break; } - else if(a->name[i] > b->name[i]){ + else if(a->name[i] < b->name[i]){ return 1; } else{