diff options
author | Kiyoshi Aman <kiyoshi.aman@gmail.com> | 2011-02-17 19:20:24 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman@gmail.com> | 2011-02-17 19:21:09 -0500 |
commit | 87b9e20030a1c56d232cbd2263c73d6dd4e007f1 (patch) | |
tree | 0c5052519e5bcc3eccb4f2b040b0fe0d541e1629 /main/irssi/irssi-italics.patch | |
parent | 77f4ea1469d971b23459db4d00370c0de852c271 (diff) | |
download | aports-87b9e20030a1c56d232cbd2263c73d6dd4e007f1.tar.bz2 aports-87b9e20030a1c56d232cbd2263c73d6dd4e007f1.tar.xz |
main/irssi: Italics actually *work* now.
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; |