projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a2d60
)
Escape % in hostnames
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 15 Sep 2009 08:48:07 +0000
(10:48 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 15 Sep 2009 08:48:07 +0000
(10:48 +0200)
src/uisupport/uistyle.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
e81f907
..
b74e1b7
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-552,6
+552,7
@@
void UiStyle::StyledMessage::style() const {
QString txt = UiStyle::mircToInternal(contents());
QString bufferName = bufferInfo().bufferName();
bufferName.replace('%', "%%"); // well, you _can_ have a % in a buffername apparently... -_-
+ host.replace('%', "%%"); // hostnames too...
const int maxNetsplitNicks = 15;
QString t;