diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2010-11-02 14:18:57 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2010-11-02 14:18:57 +0000 |
| commit | 52c09d0d24a9d810aaf111b4b9d58447c2ed4629 (patch) | |
| tree | 41d5d04f2a32d84704f59d0993ebb55c14577b8a /php_imlib.c | |
| parent | c0190bbd2a8d4311a29921e665ad9687286380e3 (diff) | |
- clear T1_errno before using libt1 functions
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/branches/PHP5.2@334 455248ca-bdda-0310-9134-f4ebb693071a
Diffstat (limited to 'php_imlib.c')
| -rw-r--r-- | php_imlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/php_imlib.c b/php_imlib.c index 0d437d9..d5eb8be 100644 --- a/php_imlib.c +++ b/php_imlib.c @@ -2798,6 +2798,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) { |
