aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-01-22 03:08:17 +0000
committercorvid <corvid@lavabit.com>2011-01-22 03:08:17 +0000
commit0444014964150f96948efee9ef7cb8b4ad7631c3 (patch)
tree964fdbfb01e899d9022bb5a08db535d266aa516f
parent5f545e6d355ace8fc21210520c37e2f2a84b56fb (diff)
fix image drawing
-rw-r--r--dw/fltkimgbuf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc
index 8724a935..ad010b8f 100644
--- a/dw/fltkimgbuf.cc
+++ b/dw/fltkimgbuf.cc
@@ -322,7 +322,7 @@ void FltkImgbuf::draw (Fl_Widget *target, int xRoot, int yRoot,
}
fl_draw_image(rawdata+bpp*(y*this->width + x), xRoot + x, yRoot + y, width,
- height, bpp);
+ height, bpp, this->width * bpp);
}