[bdf] Fix Savannah bugs #35597 and #35598.

* src/bdf/bdflib.c (_bdf_is_atom): Fix handling of property value.
This commit is contained in:
Werner Lemberg 2012-02-24 18:06:46 +01:00
parent 6b5b6f39e7
commit 320d4976d1
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-02-24 Werner Lemberg <wl@gnu.org>
[bdf] Fix Savannah bugs #35597 and #35598.
* src/bdf/bdflib.c (_bdf_is_atom): Fix handling of property value.
2012-02-24  Vinnie Falco <vinnie.falco@gmail.com>
Prepare source code for amalgamation (6/6).

View File

@ -1,6 +1,6 @@
/*
* Copyright 2000 Computing Research Labs, New Mexico State University
* Copyright 2001-2011
* Copyright 2001-2012
* Francesco Zappa Nardelli
*
* Permission is hereby granted, free of charge, to any person obtaining a
@ -1254,7 +1254,8 @@
ep = line + linelen;
/* Trim the leading whitespace if it exists. */
*sp++ = 0;
if ( *sp )
*sp++ = 0;
while ( *sp &&
( *sp == ' ' || *sp == '\t' ) )
sp++;