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.3 by ayin, Fri Dec 7 16:35:05 2007 UTC vs.
Revision 1.4 by sf-exg, Sat Oct 16 07:59:25 2010 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@@ -37,7 +37,7 @@ COMMON = \ 5@@ -38,7 +38,7 @@ COMMON = \
6 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 \
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- fdpass.o ev_cpp.o @PERL_O@
10+ fdpass.o ev_cpp.o wcwidth.o @PERL_O@ 10+ fdpass.o ev_cpp.o wcwidth.o @PERL_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@@ -646,6 +646,12 @@ typedef struct _mwmhints { 18@@ -621,6 +621,12 @@ typedef struct _mwmhints {
19 */ 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);
24+ 24+

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines