summaryrefslogtreecommitdiff
path: root/src/gui/speechbubble.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/speechbubble.cpp')
-rw-r--r--src/gui/speechbubble.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp
index aad5e16e..84eeb7d4 100644
--- a/src/gui/speechbubble.cpp
+++ b/src/gui/speechbubble.cpp
@@ -90,7 +90,7 @@ void SpeechBubble::setText(std::string mText)
setContentSize(mSpeechBox->getMinWidth() + fontHeight,
(numRows * fontHeight) + 6);
mSpeechArea->setDimension(gcn::Rectangle(4, fontHeight + 3,
- mSpeechBox->getMinWidth() + 5,
+ mSpeechBox->getMinWidth() + 5,
(numRows * fontHeight)));
}
else
@@ -99,7 +99,7 @@ void SpeechBubble::setText(std::string mText)
if (width < getFont()->getWidth(mText))
width = getFont()->getWidth(mText);
setContentSize(width + fontHeight, (fontHeight * 2) + 6);
- mSpeechArea->setDimension(gcn::Rectangle(4, fontHeight + 3,
+ mSpeechArea->setDimension(gcn::Rectangle(4, fontHeight + 3,
width, fontHeight));
}
}