Commit 87b9e200 authored by Kiyoshi Aman's avatar Kiyoshi Aman

main/irssi: Italics actually *work* now.

parent 77f4ea14
# Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com>
pkgname=irssi
pkgver=0.8.15
pkgrel=5
pkgrel=6
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
arch="all"
......@@ -67,4 +67,4 @@ proxy() {
}
md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2
997281a5b6dc68f86cc6182d287cc894 irssi-italics.patch"
bb8b9f8b960837ad061a8e5b9b19824b 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment