1 | diff --git a/src/Makefile.in b/src/Makefile.in |
1 | diff --git a/src/Makefile.in b/src/Makefile.in |
2 | index 2136e69..3d7ddea 100644 |
2 | index 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 | |
14 | diff --git a/src/rxvt.h b/src/rxvt.h |
14 | diff --git a/src/rxvt.h b/src/rxvt.h |
15 | index 64b7fc0..1897040 100644 |
15 | index 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); |