diff options
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/xpdf/GDKSplashOutputDev.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/xpdf/GDKSplashOutputDev.cc b/pdf/xpdf/GDKSplashOutputDev.cc index ad0040f..e570bd0 100644 --- a/pdf/xpdf/GDKSplashOutputDev.cc +++ b/pdf/xpdf/GDKSplashOutputDev.cc @@ -114,7 +114,7 @@ void GDKSplashOutputDev::redraw(int srcX, int srcY, destX, destY, width, height, GDK_RGB_DITHER_NORMAL, - getBitmap()->getDataPtr().rgb8p + srcY * gdk_rowstride + srcX, + getBitmap()->getDataPtr().rgb8p + srcY * gdk_rowstride + srcX * 3, gdk_rowstride); g_object_unref (gc); |