# HG changeset patch # User Matti Hamalainen # Date 1583761561 -7200 # Node ID 953e16582f257dc4468a99dd382d64e665a22786 # Parent 9c61834c191b2615cefb62538ac909e8947b0e3a Fix th_strcasecmp() and th_strncasecmp() for certain .. cases. diff -r 9c61834c191b -r 953e16582f25 th_string.c --- a/th_string.c Mon Mar 09 15:20:49 2020 +0200 +++ b/th_string.c Mon Mar 09 15:46:01 2020 +0200 @@ -471,7 +471,7 @@ s2++; } - return 0; + return th_tolower(*s1) - th_tolower(*s2); } @@ -494,7 +494,7 @@ n--; } - return 0; + return th_tolower(*s1) - th_tolower(*s2); }