]> www.fi.muni.cz Git - evince.git/commitdiff
(redraw): fix pixbuf data offset.
authorMartin Kretzschmar <martink@src.gnome.org>
Sun, 9 Jan 2005 18:24:37 +0000 (18:24 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Sun, 9 Jan 2005 18:24:37 +0000 (18:24 +0000)
ChangeLog
pdf/xpdf/GDKSplashOutputDev.cc

index fd88acc5b543cab86a2c915d9e29965405274c3b..52487a82417f9b348c104f30cab8f7a7fbe271b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-09  Martin Kretzschmar  <martink@gnome.org>
+
+       * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
+
 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
 
        * cut-n-paste/recent-files/egg-recent-item.c:
index ad0040fd62b7dfaf1bb5d84d38362955a5af1788..e570bd0c719b5927f3c7d7e31d0af92a6df891b4 100644 (file)
@@ -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);