summaryrefslogtreecommitdiff
path: root/dw/image.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/image.cc')
-rw-r--r--dw/image.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/dw/image.cc b/dw/image.cc
index 50083151..1cb9ce39 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -388,8 +388,7 @@ void Image::draw (core::View *view, core::Rectangle *area)
core::style::Color::SHADING_NORMAL,
allocation.x + getStyle()->boxOffsetX (),
allocation.y + getStyle()->boxOffsetY (),
- getContentWidth(), getContentHeight(),
- altText, strlen(altText));
+ getContentWidth(), getContentHeight(), altText);
if (clippingView)
view->mergeClippingView (clippingView);