* src/truetype/ttgxvar.c (TT_Set_MM_Blend): Disambiguate
This commit is contained in:
parent
5d64257340
commit
6922266b2c
|
@ -1,3 +1,8 @@
|
||||||
|
2008-10-16 David Turner <david@freetype.org>
|
||||||
|
|
||||||
|
* src/truetype/ttgxvar.c (TT_Set_MM_Blend): Disambiguate for
|
||||||
|
meddlesome compilers' warning against `for ( ...; ...; ...) ;'.
|
||||||
|
|
||||||
2008-10-14 Werner Lemberg <wl@gnu.org>
|
2008-10-14 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/cff/cffobjs.c (cff_face_init): Remove compiler warning.
|
* src/cff/cffobjs.c (cff_face_init): Remove compiler warning.
|
||||||
|
|
|
@ -905,14 +905,15 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for ( i = 0;
|
|
||||||
i < num_coords && blend->normalizedcoords[i] == coords[i];
|
|
||||||
++i )
|
|
||||||
;
|
|
||||||
if ( i == num_coords )
|
|
||||||
manageCvt = mcvt_retain;
|
manageCvt = mcvt_retain;
|
||||||
else
|
for ( i = 0; i < num_coords; ++i )
|
||||||
|
{
|
||||||
|
if ( blend->normalizedcoords[i] != coords[i] )
|
||||||
|
{
|
||||||
manageCvt = mcvt_load;
|
manageCvt = mcvt_load;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* If we don't change the blend coords then we don't need to do */
|
/* If we don't change the blend coords then we don't need to do */
|
||||||
/* anything to the cvt table. It will be correct. Otherwise we */
|
/* anything to the cvt table. It will be correct. Otherwise we */
|
||||||
|
|
Loading…
Reference in New Issue