diff options
Diffstat (limited to 'src/gui/browserbox.cpp')
-rw-r--r-- | src/gui/browserbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index 61bc571b..53a2ac0f 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -311,7 +311,7 @@ BrowserBox::draw(gcn::Graphics *graphics) (!mUseLinksAndUserColors && (start == 0))) { // Check for color change in format "##x", x = [L,P,0..9] - if (row.find("##", start) == start) + if (row.find("##", start) == start && row.size() > start + 2) { switch (row.at(start + 2)) { |