Fix Savannah bug #25923.

* src/cache/ftccmap.c (FTC_CMAP_HASH): Fix typo.
This commit is contained in:
Werner Lemberg 2009-03-20 09:13:59 +01:00
parent 79972af4f0
commit 9dbfac22bc
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-03-20 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #25923.
* src/cache/ftccmap.c (FTC_CMAP_HASH): Fix typo.
2009-03-20 Werner Lemberg <wl@gnu.org>
Protect against too large glyphs.

4
src/cache/ftccmap.c vendored
View File

@ -4,7 +4,7 @@
/* */
/* FreeType CharMap cache (body) */
/* */
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by */
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -88,7 +88,7 @@
/* compute a query/node hash */
#define FTC_CMAP_HASH( faceid, index, charcode ) \
( FTC_FACE_ID_HASH( faceid ) + 211 * ( index ) + \
( (char_code) / FTC_CMAP_INDICES_MAX ) )
( (charcode) / FTC_CMAP_INDICES_MAX ) )
/* the charmap query */
typedef struct FTC_CMapQueryRec_