[aat] Fix division sign fallout
Happened after 11d2f49af8
since now nClasses is unsigned int...
This commit is contained in:
parent
2087f5a2a7
commit
84efe0438e
|
@ -504,7 +504,7 @@ struct StateTable
|
|||
};
|
||||
|
||||
inline int new_state (unsigned int newState) const
|
||||
{ return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / nClasses; }
|
||||
{ return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; }
|
||||
|
||||
inline unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const
|
||||
{
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue