* src/base/ftmac.c (parse_fond): Fix handling of style names.

This commit is contained in:
Werner Lemberg 2003-04-23 18:10:19 +00:00
parent b442ca1713
commit fcc5c9115f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-04-23 Paul Miller <paulm@profoundeffects.com>
* src/base/ftmac.c (parse_fond): Fix handling of style names.
2003-04-23 Werner Lemberg <wl@gnu.org>
* src/pfr/pfrload.c (pfr_extra_item_load_font_id): Use FT_PtrDist

View File

@ -4,7 +4,7 @@
/* */
/* Mac FOND support. Written by just@letterror.com. */
/* */
/* Copyright 1996-2001, 2002 by */
/* Copyright 1996-2001, 2002, 2003 by */
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -312,7 +312,7 @@
unsigned char* suffixes = names[style->indexes[0] - 1];
for ( i = 1; i < suffixes[0]; i++ )
for ( i = 1; i <= suffixes[0]; i++ )
{
unsigned char* s;
size_t j = suffixes[i] - 1;