usp10: Restart Indic syllable processing immediately after malformed syllable.

This commit is contained in:
Aric Stewart 2011-06-27 11:00:58 -05:00 committed by Alexandre Julliard
parent 75c70dcd77
commit cf40ef178e
1 changed files with 1 additions and 9 deletions

View File

@ -353,16 +353,8 @@ void Indic_ReorderCharacters( HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, L
}
else if (index < cChar)
{
int i;
TRACE("Processing failed at %i\n",index);
for (i = index; i < cChar; i++)
if (lex(input[i])==lex_Generic)
{
TRACE("Restart processing at %i\n",i);
next = i;
index = i;
break;
}
next = ++index;
}
}
TRACE("Processed %i of %i characters into %i syllables\n",index,cChar,*syllable_count);