{
c1 = *s1++;
c2 = *s2++;
- if (!c1)
+ if (!c1 || (c1 != c2 && (c1 = FcToLower(c1)) != (c2 = FcToLower(c2))))
break;
- if (c1 != c2)
- {
- c1 = FcToLower (c1);
- c2 = FcToLower (c2);
- if (c1 != c2)
- break;
- }
}
return (int) c1 - (int) c2;
}
do
c2 = *s2++;
while (c2 == ' ');
- if (!c1 || !c2)
- break;
- c1 = FcToLower (c1);
- c2 = FcToLower (c2);
- if (c1 != c2)
+ if (!c1 || (c1 != c2 && (c1 = FcToLower(c1)) != (c2 = FcToLower(c2))))
break;
}
return (int) c1 - (int) c2;
{
c1 = *s1++;
c2 = *s2++;
- if (!c1 || !c2)
- break;
- if (c1 != c2)
+ if (!c1 || c1 != c2)
break;
}
return (int) c1 - (int) c2;