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 | @@ -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 | |
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 | @@ -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); |