diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index c08b898e7d8..866323ba6e5 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -2151,8 +2151,8 @@ image_set_rotation (struct image *img, matrix3x3 tm) | |||
| 2151 | matrix3x3_mult (rot, tmp, tmp2); | 2151 | matrix3x3_mult (rot, tmp, tmp2); |
| 2152 | 2152 | ||
| 2153 | /* Translate back. */ | 2153 | /* Translate back. */ |
| 2154 | t[2][0] = - (width * .5); | 2154 | t[2][0] = width * -.5; |
| 2155 | t[2][1] = - (height * .5); | 2155 | t[2][1] = height * -.5; |
| 2156 | matrix3x3_mult (t, tmp2, tm); | 2156 | matrix3x3_mult (t, tmp2, tm); |
| 2157 | 2157 | ||
| 2158 | img->width = width; | 2158 | img->width = width; |