mirror of https://github.com/freetype/freetype
Fix Savannah bug #38970.
* src/base/ftdebug.c, builds/win32/ftdebug.c, builds/wince/ftdebug.c, builds/amiga/src/base/ftdebug.c (ft_debug_init): Don't read past the environment variable FT2_DEBUG.
This commit is contained in:
parent
cd888753c8
commit
8d6025c8da
|
@ -1,3 +1,11 @@
|
|||
2013-05-13 Brian Nixon <bnixon@yahoo.com>
|
||||
|
||||
Fix Savannah bug #38970.
|
||||
|
||||
* src/base/ftdebug.c, builds/win32/ftdebug.c,
|
||||
builds/wince/ftdebug.c, builds/amiga/src/base/ftdebug.c
|
||||
(ft_debug_init): Don't read past the environment variable FT2_DEBUG.
|
||||
|
||||
2013-05-12 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Add framework for TrueType properties.
|
||||
|
|
|
@ -208,6 +208,9 @@
|
|||
while ( *p && *p != ':' )
|
||||
p++;
|
||||
|
||||
if ( !*p )
|
||||
break;
|
||||
|
||||
if ( *p == ':' && p > q )
|
||||
{
|
||||
FT_Int n, i, len = (FT_Int)( p - q );
|
||||
|
@ -236,7 +239,7 @@
|
|||
p++;
|
||||
if ( *p )
|
||||
{
|
||||
level = *p++ - '0';
|
||||
level = *p - '0';
|
||||
if ( level < 0 || level > 7 )
|
||||
level = -1;
|
||||
}
|
||||
|
|
|
@ -166,6 +166,9 @@
|
|||
while ( *p && *p != ':' )
|
||||
p++;
|
||||
|
||||
if ( !*p )
|
||||
break;
|
||||
|
||||
if ( *p == ':' && p > q )
|
||||
{
|
||||
int n, i, len = p - q;
|
||||
|
@ -194,7 +197,7 @@
|
|||
p++;
|
||||
if ( *p )
|
||||
{
|
||||
level = *p++ - '0';
|
||||
level = *p - '0';
|
||||
if ( level < 0 || level > 7 )
|
||||
level = -1;
|
||||
}
|
||||
|
|
|
@ -184,6 +184,9 @@
|
|||
while ( *p && *p != ':' )
|
||||
p++;
|
||||
|
||||
if ( !*p )
|
||||
break;
|
||||
|
||||
if ( *p == ':' && p > q )
|
||||
{
|
||||
int n, i, len = p - q;
|
||||
|
@ -212,7 +215,7 @@
|
|||
p++;
|
||||
if ( *p )
|
||||
{
|
||||
level = *p++ - '0';
|
||||
level = *p - '0';
|
||||
if ( level < 0 || level > 7 )
|
||||
level = -1;
|
||||
}
|
||||
|
|
|
@ -181,6 +181,9 @@
|
|||
while ( *p && *p != ':' )
|
||||
p++;
|
||||
|
||||
if ( !*p )
|
||||
break;
|
||||
|
||||
if ( *p == ':' && p > q )
|
||||
{
|
||||
FT_Int n, i, len = (FT_Int)( p - q );
|
||||
|
@ -209,7 +212,7 @@
|
|||
p++;
|
||||
if ( *p )
|
||||
{
|
||||
level = *p++ - '0';
|
||||
level = *p - '0';
|
||||
if ( level < 0 || level > 7 )
|
||||
level = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue