summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-11-12 12:19:57 +0000
committernicm <nicm>2015-11-12 12:19:57 +0000
commitd6daf37df4ccd7589d2d8f6911bf7270f12d1672 (patch)
treedfe65b5fed71b3686e4c2346f19a14eb4e5dcf90 /tmux.h
parent0cc812ae342d1a71c0337db8ffb4d7701668cb38 (diff)
Tidy utf8.c a little: build table on first use, and make utf8_width take
a u_int rather than splitting and then combining again in utf8_split.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index de19159d..0d2d773d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2181,7 +2181,7 @@ void session_group_synchronize1(struct session *, struct session *);
void session_renumber_windows(struct session *);
/* utf8.c */
-void utf8_build(void);
+u_int utf8_width(u_int);
void utf8_set(struct utf8_data *, u_char);
int utf8_open(struct utf8_data *, u_char);
int utf8_append(struct utf8_data *, u_char);