diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-20 11:57:14 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-20 11:57:14 -0700 |
commit | f404997629d9a34f5a15261073536903a59a604c (patch) | |
tree | c13676b9762f0c52c89ad9dc4048a731b77889ba /src/gui | |
parent | 1cd00ac68dca25c942c8db0cbaa8110d4a6a2f7a (diff) | |
download | mana-f404997629d9a34f5a15261073536903a59a604c.tar.gz mana-f404997629d9a34f5a15261073536903a59a604c.tar.bz2 mana-f404997629d9a34f5a15261073536903a59a604c.tar.xz mana-f404997629d9a34f5a15261073536903a59a604c.zip |
Trim displayed speech to not show links.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/speechbubble.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp index 5539202e..4fa63973 100644 --- a/src/gui/speechbubble.cpp +++ b/src/gui/speechbubble.cpp @@ -61,11 +61,6 @@ SpeechBubble::SpeechBubble(): void SpeechBubble::setText(std::string mText) { - while (mText[0] == ' ') - { - mText = mText.substr(1, mText.size()); - } - mSpeechBox->setMinWidth(140); mSpeechBox->setTextWrapped( mText ); |