summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-color.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c
index 08b57f0f9..c19199f97 100644
--- a/src/plugins/irc/irc-color.c
+++ b/src/plugins/irc/irc-color.c
@@ -308,7 +308,7 @@ irc_color_decode_for_user_entry (const char *string)
ptr_string++;
break;
case IRC_COLOR_UNDERLINE_CHAR:
- out[out_pos++] = 0x15;
+ out[out_pos++] = 0x1F;
ptr_string++;
break;
case IRC_COLOR_COLOR_CHAR:
@@ -404,14 +404,14 @@ irc_color_encode (const char *string, int keep_colors)
out[out_pos++] = IRC_COLOR_RESET_CHAR;
ptr_string++;
break;
- case 0x15: /* ^U */
+ case 0x16: /* ^V */
if (keep_colors)
- out[out_pos++] = IRC_COLOR_UNDERLINE_CHAR;
+ out[out_pos++] = IRC_COLOR_REVERSE_CHAR;
ptr_string++;
break;
- case 0x16: /* ^V */
+ case 0x1F: /* ^_ */
if (keep_colors)
- out[out_pos++] = IRC_COLOR_REVERSE_CHAR;
+ out[out_pos++] = IRC_COLOR_UNDERLINE_CHAR;
ptr_string++;
break;
default: