X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=b95a53047c79b36dc9b25110928669125439c3f5;hb=4986a5a3ba71fe17c4a31c269a215cac1c7a4b06;hp=627ba5e863ff4a9077c4c16ac4ba30c683a5734c;hpb=f45fafc6d8ec122a7244cef1fdae1cdf16c6a0c7;p=quassel.git diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 627ba5e8..b95a5304 100644 --- 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;