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.2 by ayin, Wed Oct 31 12:08:45 2007 UTC vs.
Revision 1.3 by ayin, Fri Dec 7 16:35:05 2007 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@@ -36,7 +36,7 @@ COMMON = \ 5@@ -37,7 +37,7 @@ COMMON = \
6 background.o command.o rxvtfont.o init.o logging.o main.o misc.o \
7 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ 6 ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \
8 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ 7 scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \
9- rxvttoolkit.o rxvtutil.o iom.o keyboard.o fdpass.o @PERL_O@ 8 rxvttoolkit.o rxvtutil.o keyboard.o \
10+ rxvttoolkit.o rxvtutil.o iom.o keyboard.o fdpass.o @PERL_O@ wcwidth.o 9- fdpass.o ev_cpp.o @PERL_O@
10+ fdpass.o ev_cpp.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@@ -649,6 +649,12 @@ enum { 18@@ -646,6 +646,12 @@ typedef struct _mwmhints {
19 */ 19 */
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