diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-07 17:02:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-07 17:02:14 +0300 |
commit | 74bc4670af005224449a561b4b5be58163d10a29 (patch) | |
tree | 223a8026f107dfbeef8f463394e5c0a89ae831e0 /src | |
parent | f3a88f23f8cdbf79acf609aa2f5d57ee8185cdcd (diff) | |
download | manaplus-74bc4670af005224449a561b4b5be58163d10a29.tar.gz manaplus-74bc4670af005224449a561b4b5be58163d10a29.tar.bz2 manaplus-74bc4670af005224449a561b4b5be58163d10a29.tar.xz manaplus-74bc4670af005224449a561b4b5be58163d10a29.zip |
Allow use bold text also if browser box line was splitted.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 3 |
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); |