aboutsummaryrefslogtreecommitdiff
path: root/dw/image.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-01-02 00:39:21 +0100
committerSebastian Geerken <devnull@localhost>2015-01-02 00:39:21 +0100
commit974f88a4adc3ef460ad00ba3d398f697c8812393 (patch)
tree55c88aad376ae3d6a0a2f714c9f55673d9d989ef /dw/image.cc
parentecb8be82abafc3c7580cdeed4c8902b44bd06ae5 (diff)
parent86e780e73a11e8b9d1d57cb5f283c4fee6ca68e8 (diff)
Merge with main repo.
Diffstat (limited to 'dw/image.cc')
-rw-r--r--dw/image.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/image.cc b/dw/image.cc
index bd7c1ac9..a1052726 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -241,7 +241,7 @@ void Image::getExtremesImpl (core::Extremes *extremes)
{
int contentWidth;
if (buffer)
- contentWidth =buffer->getRootWidth ();
+ contentWidth = buffer->getRootWidth ();
else {
if (altText && altText[0]) {
if (altTextWidth == -1)
@@ -252,7 +252,7 @@ void Image::getExtremesImpl (core::Extremes *extremes)
contentWidth = 0;
}
- int width = contentWidth + + boxDiffWidth ();
+ int width = contentWidth + boxDiffWidth ();
// With percentage width, the image may be narrower than the buffer.
extremes->minWidth =