diff options
Diffstat (limited to 'src/base/ftbitmap.c')
-rw-r--r-- | src/base/ftbitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/ftbitmap.c b/src/base/ftbitmap.c index 88c88c4c1..ee50c2f30 100644 --- a/src/base/ftbitmap.c +++ b/src/base/ftbitmap.c @@ -226,7 +226,7 @@ } /* otherwise allocate new buffer */ - if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) + if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) return error; /* new rows get added at the top of the bitmap, */ |