From 7ada762ca81045cfe8b2556ae9e7b8b4749d84f8 Mon Sep 17 00:00:00 2001 From: Daniel Bradshaw <daniel+commits@the-cell.co.uk> Date: Tue, 26 Jan 2010 16:26:40 +0000 Subject: 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 --- src/gui/widgets/browserbox.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2