mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-05 03:35:27 -07:00
fix case-insensitive comparison
This commit is contained in:
1 parent
d87b3ce166
commit
8a432ee47b
1 file changed
+3
-1
@@ -27,7 +27,9 @@ void texticmp(PgfText *t1, PgfText *t2, int res[2])
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (s1 >= e1) {
|
if (s1 >= e1) {
|
||||||
res[0] = (res[1] = -(s2 < e2));
|
if (s2 >= e2)
|
||||||
|
return;
|
||||||
|
res[0] = (res[1] = -1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (s2 >= e2) {
|
if (s2 >= e2) {
|
||||||
|
|||||||
Reference in new issue
Block a user