diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-08 21:16:37 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-08 21:16:37 -0300 |
commit | 845493306279f446dbac9568a0a1e0f442e615dd (patch) | |
tree | dbf0a36e50a268b456760ce881a802d28979cc5f /dw/image.cc | |
parent | 283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff) |
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
Diffstat (limited to 'dw/image.cc')
-rw-r--r-- | dw/image.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/image.cc b/dw/image.cc index bd8a1f4e..82fe7252 100644 --- a/dw/image.cc +++ b/dw/image.cc @@ -167,7 +167,7 @@ void Image::sizeRequestImpl (core::Requisition *requisition) } requisition->descent = 0; } else { - if(altText && altText[0]) { + if (altText && altText[0]) { if (altTextWidth == -1) altTextWidth = layout->textWidth (getStyle()->font, altText, strlen (altText)); @@ -310,7 +310,7 @@ void Image::draw (core::View *view, core::Rectangle *area) intersection.x - dx, intersection.y - dy, intersection.width, intersection.height); } else { - if(altText && altText[0]) { + if (altText && altText[0]) { if (altTextWidth == -1) altTextWidth = layout->textWidth (getStyle()->font, altText, strlen (altText)); @@ -335,7 +335,7 @@ void Image::draw (core::View *view, core::Rectangle *area) + getStyle()->font->ascent, altText, strlen(altText)); - if(clippingView) + if (clippingView) view->mergeClippingView (clippingView); } } |