summaryrefslogtreecommitdiff
path: root/src/raster/ftrend1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/raster/ftrend1.c')
-rw-r--r--src/raster/ftrend1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raster/ftrend1.c b/src/raster/ftrend1.c
index e52ca1db5..185a7f6fc 100644
--- a/src/raster/ftrend1.c
+++ b/src/raster/ftrend1.c
@@ -189,7 +189,7 @@
bitmap->rows = height;
bitmap->pitch = (int)pitch;
- if ( FT_ALLOC_MULT( bitmap->buffer, pitch, height ) )
+ if ( FT_ALLOC_MULT( bitmap->buffer, height, pitch ) )
goto Exit;
slot->internal->flags |= FT_GLYPH_OWN_BITMAP;