mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -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 (;;) {
|
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