changeset 1854:d27439fee162

fix image drawing
author corvid <corvid@lavabit.com>
date Sat, 22 Jan 2011 03:08:17 +0000
parents b8aa813dc9c2
children 8178c7976185
files dw/fltkimgbuf.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw/fltkimgbuf.cc	Sat Jan 22 01:04:33 2011 +0000
+++ b/dw/fltkimgbuf.cc	Sat Jan 22 03:08:17 2011 +0000
@@ -322,7 +322,7 @@
    }
 
    fl_draw_image(rawdata+bpp*(y*this->width + x), xRoot + x, yRoot + y, width,
-                 height, bpp);
+                 height, bpp, this->width * bpp);
 
 }