ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/wcwidth.patch
(Generate patch)

Comparing rxvt-unicode/doc/wcwidth.patch (file contents):
Revision 1.4 by sf-exg, Sat Oct 16 07:59:25 2010 UTC vs.
Revision 1.5 by sf-exg, Tue May 31 10:45:01 2011 UTC

1diff --git a/src/Makefile.in b/src/Makefile.in 1diff --git a/src/Makefile.in b/src/Makefile.in
2index 2136e69..3d7ddea 100644 2index 2136e69..3d7ddea 100644
3--- a/src/Makefile.in 3--- a/src/Makefile.in
4+++ b/src/Makefile.in 4+++ b/src/Makefile.in
5@@ -38,7 +38,7 @@ COMMON = \ 5@@ -38,7 +38,7 @@ COMMON = \
6 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ 6 screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
7 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ 7 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
8 rxvttoolkit.o rxvtutil.o keyboard.o \ 8 rxvttoolkit.o rxvtutil.o keyboard.o \
9- fdpass.o ev_cpp.o @PERL_O@ 9- ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@
10+ fdpass.o ev_cpp.o wcwidth.o @PERL_O@ 10+ ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o wcwidth.o @PERL_O@
11 11
12 COMMON_DAEMON = rxvtdaemon.o 12 COMMON_DAEMON = rxvtdaemon.o
13 13
14diff --git a/src/rxvt.h b/src/rxvt.h 14diff --git a/src/rxvt.h b/src/rxvt.h
15index 64b7fc0..1897040 100644 15index 64b7fc0..1897040 100644
16--- a/src/rxvt.h 16--- a/src/rxvt.h
17+++ b/src/rxvt.h 17+++ b/src/rxvt.h
18@@ -621,6 +621,12 @@ typedef struct _mwmhints { 18@@ -635,6 +635,12 @@ typedef struct _mwmhints {
19 // speed hack, copy some member variable into a local variable of the same name 19 // speed hack, copy some member variable into a local variable of the same name
20 #define dLocal(type,name) type const name = this->name 20 #define dLocal(type,name) type const name = this->name
21 21
22+int mk_wcwidth(wchar_t c); 22+int mk_wcwidth(wchar_t c);
23+int mk_wcswidth(const wchar_t *s, size_t n); 23+int mk_wcswidth(const wchar_t *s, size_t n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines