Update 'cv2/program.c'

This commit is contained in:
Daniel Ryzhuk 2020-10-10 06:45:49 +00:00
parent e65ddf2a87
commit 7852d78ca9

View File

@ -55,5 +55,7 @@ int compare_pizza(const void* pVoid1, const void* pVoid2) {
float r = price1 - price2;
if (r > 0.) return 1;
if (r < 0.) return -1;
if (r == 0.) return 0;
char* name1 = pPizza1->name;
char* name2 = pPizza2->name;
if (r == 0.) return strcmp(name1,name2);
}