Code

fix 248419
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 14 Jul 2008 19:35:02 +0000 (19:35 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 14 Jul 2008 19:35:02 +0000 (19:35 +0000)
src/display/sp-canvas.cpp

index 3d63d7cdd1d2e5736ac9658b9adb21f7d9235f9c..ba02099690434b84dbc69efbd5fda655617af822 100644 (file)
@@ -1708,7 +1708,7 @@ sp_canvas_paint_single_buffer (SPCanvas *canvas, int x0, int y0, int x1, int y1,
                                       x0 - canvas->x0, y0 - canvas->y0,
                                       x1 - x0, y1 - y0,
                                       GDK_RGB_DITHER_MAX,
-                                      b3.data.px,
+                                      NR_PIXBLOCK_PX(&b3),
                                       sw * 3,
                                       x0 - canvas->x0, y0 - canvas->y0);