diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2010-11-02 14:58:22 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2010-11-02 14:58:22 +0000 |
| commit | d994b724f319f04948f6ae3ec2f43723132f7df3 (patch) | |
| tree | ee6bc11e4b9bb77ed32b7b575f5db468f9d743bf /php_imlib.c | |
| parent | a75bc57482e6ef4d7f32adbf77e84227646ac4b4 (diff) | |
- clear T1_errno before using libt1 functions (cont)
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@336 455248ca-bdda-0310-9134-f4ebb693071a
Diffstat (limited to 'php_imlib.c')
| -rw-r--r-- | php_imlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/php_imlib.c b/php_imlib.c index 9154d3a..a17811e 100644 --- a/php_imlib.c +++ b/php_imlib.c @@ -2817,6 +2817,8 @@ PHP_FUNCTION(imlib_psbbox) #define new_x(a, b) (int) ((a) * cos_a - (b) * sin_a) #define new_y(a, b) (int) ((a) * sin_a + (b) * cos_a) + T1_errno = 0; + if (per_char) { space += T1_GetCharWidth(*f_ind, ' '); cur_x = cur_y = 0; |
