Official patch 001

This commit is contained in:
Andrey A. Chernov 2006-12-31 09:45:18 +00:00
parent 1c08c2b3fd
commit a05ab6e2bb

View File

@ -2380,6 +2380,8 @@ _rl_col_width (str, start, end)
if (end <= start)
return 0;
if (MB_CUR_MAX == 1 || rl_byte_oriented)
return (end - start);
memset (&ps, 0, sizeof (mbstate_t));