summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2010-11-02 14:18:57 +0000
committerpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2010-11-02 14:18:57 +0000
commit90c1bf5aa51566f9297fee06d82239ecc72b2af6 (patch)
treee62c378635e9c187bdf512402707dbf78dfb3046
parent6930ff5994521df43e29b4d7ba90f583a5343f07 (diff)
- clear T1_errno before using libt1 functions
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@334 455248ca-bdda-0310-9134-f4ebb693071a
-rw-r--r--php_imlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/php_imlib.c b/php_imlib.c
index 383fddd..9154d3a 100644
--- a/php_imlib.c
+++ b/php_imlib.c
@@ -2530,6 +2530,7 @@ PHP_FUNCTION(imlib_pstext)
ZEND_FETCH_RESOURCE(bg_img, Imlib_Image, &img, -1, "Imlib Image", le_imlib_img);
ZEND_FETCH_RESOURCE(f_ind, int *, &fnt, -1, "Type 1 font", le_ps_font);
+ T1_errno = 0;
T1_AASetBitsPerPixel(32);
switch (aa_steps) {