FTK changes. Fixed bug in f_wpBreakChar that was resulting in an illegal memory access when processing character 0x01F2.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@779 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-08-21 20:23:32 +00:00
parent 4a8fd22e68
commit 7c37eb0d40
2 changed files with 6 additions and 6 deletions

View File

@@ -5642,7 +5642,7 @@ FLMBOOL FLMAPI f_breakWPChar(
iTableIndex = ((FLMBYTE)ui16WpChar) - pBaseDiacritic->start_char;
if( iTableIndex < 0 ||
iTableIndex > pBaseDiacritic->char_count ||
iTableIndex >= pBaseDiacritic->char_count ||
pBaseDiacritic->table [iTableIndex].base == (FLMBYTE)0xFF)
{
return( TRUE);