diff options
Diffstat (limited to 'main/irssi/irssi-italics.patch')
-rw-r--r-- | main/irssi/irssi-italics.patch | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/main/irssi/irssi-italics.patch b/main/irssi/irssi-italics.patch index fb4324e302..27763bd9ef 100644 --- a/main/irssi/irssi-italics.patch +++ b/main/irssi/irssi-italics.patch @@ -45,7 +45,26 @@ case '9': case '_': /* bold on/off */ -@@ -1050,6 +1054,7 @@ +@@ -832,7 +836,7 @@ + + #define IS_COLOR_CODE(c) \ + ((c) == 2 || (c) == 3 || (c) == 4 || (c) == 6 || (c) == 7 || \ +- (c) == 15 || (c) == 22 || (c) == 27 || (c) == 31) ++ (c) == 15 || (c) == 22 || (c) == 27 || (c) == 29 || (c) == 31) + + /* Return how many characters in `str' must be skipped before `len' + characters of text is skipped. */ +@@ -1001,6 +1005,9 @@ + case FORMAT_STYLE_UNDERLINE: + flags ^= GUI_PRINT_FLAG_UNDERLINE; + break; ++ case FORMAT_STYLE_ITALIC: ++ flags ^= GUI_PRINT_FLAG_ITALIC; ++ break; + case FORMAT_STYLE_BOLD: + flags ^= GUI_PRINT_FLAG_BOLD; + break; +@@ -1050,6 +1057,7 @@ if (!hide_text_style) flags ^= GUI_PRINT_FLAG_REVERSE; break; |