From a5efcca8dd0a0ad81c94ebb3d80812b700bcfd45 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: [PATCH] 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 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index f87aef5..eed8173 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
-- 
1.6.4.4

