Commit 5b58f5e3743384ff8891e2a8749709f9979682e5

Pavel Kaňkovský 2000-06-23T04:19:36

fixed *top++ bug present in type1/t1gload.c as well

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/type1z/t1gload.c b/src/type1z/t1gload.c
index cba71de..30c0e55 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" ));