diff options
author | Martin Schröder <martin@oneiros.de> | 2007-01-01 17:20:03 +0000 |
---|---|---|
committer | Martin Schröder <martin@oneiros.de> | 2007-01-01 17:20:03 +0000 |
commit | 508fb2acb6235eb461f0f5614e5466b843c33263 (patch) | |
tree | 4b43cc875bb66d8d6895a44945d252bde6d0be84 /Build/source/texk/web2c/pdftexdir/writettf.c | |
parent | c3ef295937d604389c1ce7f325138611b2c7e653 (diff) |
pdftex 1.40.0
git-svn-id: svn://tug.org/texlive/trunk@3089 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writettf.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writettf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writettf.c b/Build/source/texk/web2c/pdftexdir/writettf.c index 4c33f568434..9de6fd54c6c 100644 --- a/Build/source/texk/web2c/pdftexdir/writettf.c +++ b/Build/source/texk/web2c/pdftexdir/writettf.c @@ -325,10 +325,11 @@ do {\ static char *strip_spaces_and_delims(char *s, int l) { static char buf[SMALL_BUF_SIZE]; - assert(l >= 0 && l < (int) sizeof(buf)); char *p = buf; int i; + assert(l >= 0 && l < (int) sizeof(buf)); + for (i = 0; i < l; s++, i++) { if (*s == '(' || *s == ')' || *s == '<' || *s == '>' || *s == '[' || *s == ']' || *s == '{' || *s == '}' || |