author | skyhusker <skyhusker> | 2005-01-23 21:48:34 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-01-23 21:48:34 (UTC) |
commit | 2074382fccea58a55b68c51815abc5df463473aa (patch) (unidiff) | |
tree | b3b706369267d6dce93097997c3ee8e6bb4de1b5 | |
parent | dd410f1eb69e68f04cf26b6d3e6bca88f0987f71 (diff) | |
download | opie-2074382fccea58a55b68c51815abc5df463473aa.zip opie-2074382fccea58a55b68c51815abc5df463473aa.tar.gz opie-2074382fccea58a55b68c51815abc5df463473aa.tar.bz2 |
Changed notation in escape characters to look better
-rw-r--r-- | noncore/net/opieirc/ircoutput.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/opieirc/ircoutput.cpp b/noncore/net/opieirc/ircoutput.cpp index d2c730f..26d90cb 100644 --- a/noncore/net/opieirc/ircoutput.cpp +++ b/noncore/net/opieirc/ircoutput.cpp | |||
@@ -6,4 +6,4 @@ | |||
6 | IRCOutputEscapeSecuences IRCOutput::m_escapeSecuences[] = { | 6 | IRCOutputEscapeSecuences IRCOutput::m_escapeSecuences[] = { |
7 | { '', "<b>", "</b>"}, | 7 | { '\002', "<b>", "</b>"}, |
8 | { '', "<u>", "</u>"}, | 8 | { '\037', "<u>", "</u>"}, |
9 | { 0, 0, 0}, | 9 | { 0, 0, 0}, |
@@ -13,4 +13,4 @@ IRCOutput::IRCOutput(IRCOutputType type, QString message) { | |||
13 | m_type = type; | 13 | m_type = type; |
14 | /* Filter color, bold and underline escape sequences, since they aren't implemented yet */ | 14 | /* Filter color escape sequences, since they aren't implemented yet */ |
15 | m_message = message.replace(QRegExp("[1-9]*,*[1-9]*"), ""); | 15 | m_message = message.replace(QRegExp("\003[1-9]*,*[1-9]*"), ""); |
16 | } | 16 | } |