projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix nasty drawing bug. Add preliminary release roadmap to dev-notes.
[quassel.git]
/
src
/
uisupport
/
uistyle.cpp
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
84a4099
..
5d02db3
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-112,6
+112,7
@@
UiStyle::StyledText UiStyle::styleString(QString s) {
fmtList.append(None);
QTextLayout::FormatRange curFmtRng;
curFmtRng.format = format(None);
fmtList.append(None);
QTextLayout::FormatRange curFmtRng;
curFmtRng.format = format(None);
+ curFmtRng.start = 0;
result.formats.append(curFmtRng);
int pos = 0; int length;
int fgCol = -1, bgCol = -1; // marks current mIRC color
result.formats.append(curFmtRng);
int pos = 0; int length;
int fgCol = -1, bgCol = -1; // marks current mIRC color