From 5b58f5e3743384ff8891e2a8749709f9979682e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Ka=C5=88kovsk=C3=BD?= Date: Fri, 23 Jun 2000 04:19:36 +0000 Subject: [PATCH] fixed *top++ bug present in type1/t1gload.c as well --- src/type1z/t1gload.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/type1z/t1gload.c b/src/type1z/t1gload.c index cba71dea4..30c0e55af 100644 --- a/src/type1z/t1gload.c +++ b/src/type1z/t1gload.c @@ -1035,7 +1035,10 @@ { FT_TRACE4(( " div" )); if (top[1]) - *top++ = top[0] / top[1]; + { + *top = top[0] / top[1]; + ++top; + } else { FT_ERROR(( "T1.Parse_CharStrings : division by 0\n" ));