Official patch 001
This commit is contained in:
parent
1c08c2b3fd
commit
a05ab6e2bb
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user