mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
fix case-insensitive comparison
This commit is contained in:
@@ -27,7 +27,9 @@ void texticmp(PgfText *t1, PgfText *t2, int res[2])
|
||||
|
||||
for (;;) {
|
||||
if (s1 >= e1) {
|
||||
res[0] = (res[1] = -(s2 < e2));
|
||||
if (s2 >= e2)
|
||||
return;
|
||||
res[0] = (res[1] = -1);
|
||||
return;
|
||||
}
|
||||
if (s2 >= e2) {
|
||||
|
||||
Reference in New Issue
Block a user