From cba63e9483ec8d3024e9c0a16f78c6b20cbae7cc Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sat, 28 Mar 2009 14:24:51 -0600 Subject: Removed some unneeded extra spacing in the speechbubble. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ira Rice Signed-off-by: Bjørn Lindeijer --- src/gui/speechbubble.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp index 2f765ab0..615bbe77 100644 --- a/src/gui/speechbubble.cpp +++ b/src/gui/speechbubble.cpp @@ -80,9 +80,9 @@ void SpeechBubble::setText(std::string text, bool showName) const int fontHeight = getFont()->getHeight(); const int nameHeight = showName ? mCaption->getHeight() + - getPadding() / 2 : 0; + getPadding() : 0; const int numRows = mSpeechBox->getNumberOfRows(); - const int height = (numRows * fontHeight) + nameHeight + 2 * getPadding(); + const int height = (numRows * fontHeight) + nameHeight + getPadding(); if (width < speechWidth) width = speechWidth; -- cgit v1.2.3-70-g09d2