summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-07 17:02:14 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-07 17:02:14 +0300
commit74bc4670af005224449a561b4b5be58163d10a29 (patch)
tree223a8026f107dfbeef8f463394e5c0a89ae831e0 /src
parentf3a88f23f8cdbf79acf609aa2f5d57ee8185cdcd (diff)
downloadplus-74bc4670af005224449a561b4b5be58163d10a29.tar.gz
plus-74bc4670af005224449a561b4b5be58163d10a29.tar.bz2
plus-74bc4670af005224449a561b4b5be58163d10a29.tar.xz
plus-74bc4670af005224449a561b4b5be58163d10a29.zip
Allow use bold text also if browser box line was splitted.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/browserbox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 250520d28..5856a91b1 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -451,6 +451,7 @@ int BrowserBox::calcHeight()
}
gcn::Color prevColor = selColor;
+ bold = false;
// TODO: Check if we must take texture size limits into account here
// TODO: Check if some of the O(n) calls can be removed
@@ -466,8 +467,6 @@ int BrowserBox::calcHeight()
wrapped = false;
}
- bold = false;
-
// "Tokenize" the string at control sequences
if (mUseLinksAndUserColors)
end = row.find("##", start + 1);