From b8909c52fe850d2731326534822164c2f5258bf5 Mon Sep 17 00:00:00 2001 From: Tomas Heinrich Date: Sun, 16 May 2010 20:46:53 +0200 Subject: lineedit: partially fix wide and combining chars editing Signed-off-by: Tomas Heinrich Signed-off-by: Denys Vlasenko --- libbb/unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb/unicode.c') diff --git a/libbb/unicode.c b/libbb/unicode.c index d1c6167c7..eb0ea6129 100644 --- a/libbb/unicode.c +++ b/libbb/unicode.c @@ -418,7 +418,7 @@ static int in_uint16_table(unsigned ucs, const uint16_t *table, unsigned max) * This implementation assumes that wchar_t characters are encoded * in ISO 10646. */ -static int wcwidth(unsigned ucs) +int FAST_FUNC wcwidth(unsigned ucs) { # if LAST_SUPPORTED_WCHAR >= 0x300 /* sorted list of non-overlapping intervals of non-spacing characters */ -- cgit v1.2.3