diff --git a/ChangeLog b/ChangeLog index 3363b90c1..49f0d974f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-10-10 suzuki toshiya + + * src/pcf/pcfread.c (pcf_get_properties): Fix a bug in the nprops + truncation. Reported by Martin von Gagern and Peter Volkov. + https://bugs.gentoo.org/288357 and https://bugs.gentoo.org/288256 + 2009-10-06 Werner Lemberg * Version 2.3.10 released. diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c index a60505bf2..08becf99c 100644 --- a/src/pcf/pcfread.c +++ b/src/pcf/pcfread.c @@ -436,7 +436,7 @@ THE SOFTWARE. FT_TRACE4(( " nprop = %d (truncate %d props)\n", (int)nprops, nprops - (int)nprops )); - nprops = nprops - (int)nprops; + nprops = (int)nprops; /* rough estimate */ if ( nprops > size / PCF_PROPERTY_SIZE )