mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Fix CJK length on utf8 mode.
PR: ports/101126 Submitted by: mhsin at mhsin.com
This commit is contained in:
parent
9bfbb8385b
commit
de00e5a0fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169269
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese
|
||||
|
||||
MAINTAINER= vanilla@FreeBSD.org
|
||||
@ -13,6 +13,7 @@ COMMENT= A zh-tw cursor movement friendly, wrapping clean irssi
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../irc/irssi
|
||||
|
||||
EXTRA_PATCHES= ${.CURDIR}/files/patch-irssi.conf
|
||||
EXTRA_PATCHES= ${.CURDIR}/files/patch-irssi.conf \
|
||||
${.CURDIR}/files/patch-utf8_break
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
11
chinese/irssi/files/patch-utf8_break
Normal file
11
chinese/irssi/files/patch-utf8_break
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/fe-text/textbuffer-view.c.orig Mon Jul 31 06:28:09 2006
|
||||
+++ src/fe-text/textbuffer-view.c Mon Jul 31 06:28:19 2006
|
||||
@@ -255,7 +255,7 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (!view->utf8 && char_len > 1) {
|
||||
+ if (char_len > 1) {
|
||||
last_space = xpos;
|
||||
last_space_ptr = next_ptr;
|
||||
last_color = color;
|
Loading…
Reference in New Issue
Block a user