diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-16 19:22:28 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-16 19:22:28 +0100 |
commit | 162bcb26223daffb5e231adef47044a2aff628eb (patch) | |
tree | 1b1621f9a64077e4e22742ea4a22e1079b8102fa /src/plugins | |
parent | 8b6452eb918abfe3b3e886e7f6515394052db464 (diff) | |
download | weechat-162bcb26223daffb5e231adef47044a2aff628eb.zip |
irc: don't strip monospace color code 0x11 from incoming messages (closes #2073)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-color.c | 3 | ||||
-rw-r--r-- | src/plugins/irc/irc-color.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c index 07174c373..6ba5561d8 100644 --- a/src/plugins/irc/irc-color.c +++ b/src/plugins/irc/irc-color.c @@ -258,9 +258,6 @@ irc_color_decode (const char *string, int keep_colors) underline = 0; ptr_string++; break; - case IRC_COLOR_FIXED_CHAR: - ptr_string++; - break; case IRC_COLOR_REVERSE_CHAR: if (keep_colors) { diff --git a/src/plugins/irc/irc-color.h b/src/plugins/irc/irc-color.h index be7b6b926..3f6592c61 100644 --- a/src/plugins/irc/irc-color.h +++ b/src/plugins/irc/irc-color.h @@ -50,9 +50,6 @@ #define IRC_COLOR_RESET_CHAR '\x0F' /* reset color/attributes */ #define IRC_COLOR_RESET_STR "\x0F" /* [0F]... */ -#define IRC_COLOR_FIXED_CHAR '\x11' /* monospaced font (ignored) */ -#define IRC_COLOR_FIXED_STR "\x11" /* [11]...[11] */ - #define IRC_COLOR_REVERSE_CHAR '\x16' /* reverse video (fg <--> bg) */ #define IRC_COLOR_REVERSE_STR "\x16" /* [16]...[16] */ |