1
0
forked from GitHub/gf-core

bugfix for lookupMorpho in the C runtime

This commit is contained in:
krasimir
2015-10-14 07:36:46 +00:00
parent 8f23e37fe2
commit 46fc386cfb

View File

@@ -1026,8 +1026,11 @@ pgf_symbols_cmp(GuString* psent, PgfSymbols* syms, bool case_sensitive)
PgfSymbol sym = gu_seq_get(syms, PgfSymbol, i);
if (i > 0) {
if (!skip_space(psent))
if (!skip_space(psent)) {
if (**psent == 0)
return -1;
return 1;
}
while (**psent != 0) {
if (!skip_space(psent))