[pshinter] Fix thinko.
* src/pshinter/pshalgo.c (psh_glyph_find_strong_points): Correctly check `count'. Bug introduced two commits earlier.
This commit is contained in:
parent
ca96fe01fa
commit
22b1d5ca67
|
@ -1,3 +1,11 @@
|
|||
2015-02-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[pshinter] Fix thinko.
|
||||
|
||||
* src/pshinter/pshalgo.c (psh_glyph_find_strong_points): Correctly
|
||||
check `count'.
|
||||
Bug introduced two commits earlier.
|
||||
|
||||
2015-02-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[raster] Signedness fixes.
|
||||
|
|
|
@ -1696,14 +1696,12 @@
|
|||
mask++;
|
||||
for ( ; num_masks > 1; num_masks--, mask++ )
|
||||
{
|
||||
FT_UInt next;
|
||||
FT_UInt count;
|
||||
FT_UInt next = FT_MIN( mask->end_point, glyph->num_points );
|
||||
|
||||
|
||||
next = FT_MIN( mask->end_point, glyph->num_points );
|
||||
count = next - first;
|
||||
if ( count > 0 )
|
||||
if ( next > first )
|
||||
{
|
||||
FT_UInt count = next - first;
|
||||
PSH_Point point = glyph->points + first;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue