summaryrefslogtreecommitdiff
path: root/dw/image.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-12-21 23:39:02 +0100
committerSebastian Geerken <devnull@localhost>2014-12-21 23:39:02 +0100
commite8c70d5f973ec29718e1ef7e5adc897805d04074 (patch)
treedc6cbf733272a82401f851a053b735710266885f /dw/image.cc
parenta614ea631d34d5c6273bfdaeea6a79ce2eb366a1 (diff)
Cleaned up whitespaces etc.
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 d6c2ea9d..f6bf6434 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 =