1
0
forked from GitHub/gf-core

bugfix in lookupMorpho

This commit is contained in:
Krasimir Angelov
2022-07-06 19:25:37 +02:00
parent c3c1cf2a64
commit c783da51a4

View File

@@ -290,10 +290,12 @@ int text_cmp(PgfText *sentence, ref<PgfSequence> seq,
else if (ucs1i < ucs2i) {
return -1;
}
else if (ucs1 > ucs2) {
res1 = 1;
} else if (ucs1 < ucs2) {
res1 = -1;
else if (res1 == 0) {
if (ucs1 > ucs2) {
res1 = 1;
} else if (ucs1 < ucs2) {
res1 = -1;
}
}
}
}