summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Bradshaw <daniel+commits@the-cell.co.uk>2010-01-26 16:26:40 +0000
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-01-26 18:20:31 +0100
commit7ada762ca81045cfe8b2556ae9e7b8b4749d84f8 (patch)
tree47bb8dbff01f750939ca455c22a18ac31178d56e /src
parent9bb4e375e012a6d2c88a9139a61432082d5f7a99 (diff)
downloadmana-client-7ada762ca81045cfe8b2556ae9e7b8b4749d84f8.tar.gz
mana-client-7ada762ca81045cfe8b2556ae9e7b8b4749d84f8.tar.bz2
mana-client-7ada762ca81045cfe8b2556ae9e7b8b4749d84f8.tar.xz
mana-client-7ada762ca81045cfe8b2556ae9e7b8b4749d84f8.zip
Fixed dealing with @@id|caption@@ causing ## to form line breaks
Add a couple of missing wrapped = false; lines, so that it doesn't treat every further ## as a line wrap
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/browserbox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index f87aef57..eed81730 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -357,6 +357,7 @@ void BrowserBox::draw(gcn::Graphics *graphics)
{
y += fontHeight;
x = 15;
+ wrapped = false;
}
// "Tokenize" the string at control sequences
@@ -527,6 +528,7 @@ int BrowserBox::calcHeight()
{
y += fontHeight;
x = 15;
+ wrapped = false;
}
// "Tokenize" the string at control sequences