bugfix for lookupMorpho in the C runtime

This commit is contained in:
krasimir
2015-10-14 07:36:46 +00:00
parent f5e56ebd50
commit 36f2e7dc9a

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))