projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cf0b6a0
)
Escape % in channel names
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 18 Aug 2008 14:08:29 +0000
(16:08 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 18 Aug 2008 14:08:29 +0000
(16:08 +0200)
src/uisupport/uistyle.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
627ba5e
..
b95a530
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-317,6
+317,7
@@
UiStyle::StyledMessage UiStyle::styleMessage(const Message &msg) {
QString nick = nickFromMask(msg.sender());
QString txt = mircToInternal(msg.contents());
QString bufferName = msg.bufferInfo().bufferName();
+ bufferName.replace('%', "%%"); // well, you _can_ have a % in a buffername apparently... -_-
StyledMessage result;