From 38bfc1df54bf25a4b19776ee3a075baefb690e0f Mon Sep 17 00:00:00 2001 From: Ivan Leichenko Date: Mon, 7 Oct 2024 14:35:16 +0200 Subject: [PATCH] update cv2 --- cv2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv2/program.c b/cv2/program.c index 8b00774..97b85b0 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -21,7 +21,7 @@ int comparator(const void* a, const void* b) } if (A.price == B.price) { - return 0; + return strcmp(A.name, B.name); } if (A.price > B.price) {