diff options
author | Martin Kretzschmar <martink@src.gnome.org> | 2005-01-09 18:24:37 (GMT) |
---|---|---|
committer | Martin Kretzschmar <martink@src.gnome.org> | 2005-01-09 18:24:37 (GMT) |
commit | d0984533fa0524131d765b56b3b2842216bf82d2 (patch) | |
tree | b28d45e0831bf44974241455c261d859f4e78fa9 /pdf | |
parent | aaa4934eacb2d9f1b214c4cf762a0da03fa9dce2 (diff) |
(redraw): fix pixbuf data offset.
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); |