summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/strcasecmp.c')
-rw-r--r--Build/source/texk/kpathsea/strcasecmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/strcasecmp.c b/Build/source/texk/kpathsea/strcasecmp.c
index 28a6d7b8481..481a1ae45f7 100644
--- a/Build/source/texk/kpathsea/strcasecmp.c
+++ b/Build/source/texk/kpathsea/strcasecmp.c
@@ -44,7 +44,7 @@ strcasecmp (s1, s2)
c1 = tolower (*p1++);
c2 = tolower (*p2++);
if (c1 == '\0')
- break;
+ break;
}
while (c1 == c2);
@@ -69,7 +69,7 @@ strncasecmp (s1, s2, n)
c1 = tolower (*p1++);
c2 = tolower (*p2++);
if (c1 == '\0' || c1 != c2)
- return c1 - c2;
+ return c1 - c2;
} while (--n > 0);
return c1 - c2;