* src/cff/cf2font.c (cf2_getGlyphWidth): Initialize `advWidth'.

Problem reported by Ingmar Sittl <ingmar.sittl@elektrobit.com>.
2.6.5
Werner Lemberg 12 years ago
parent 8d8508e4d2
commit d963498faf
  1. 6
      ChangeLog
  2. 2
      src/cff/cf2font.c

@ -1,3 +1,9 @@
2013-06-04 Werner Lemberg <wl@gnu.org>
* src/cff/cf2font.c (cf2_getGlyphWidth): Initialize `advWidth'.
Problem reported by Ingmar Sittl <ingmar.sittl@elektrobit.com>.
2013-06-04 Werner Lemberg <wl@gnu.org>
Apply fixes for cppcheck nitpicks.

@ -331,7 +331,7 @@
FT_Vector advancePoint;
#endif
CF2_Fixed advWidth;
CF2_Fixed advWidth = 0;
FT_Bool needWinding;

Loading…
Cancel
Save