diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 06:45:33 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 06:45:33 -0800 |
commit | 35f6ab5a5aef3ad9c25f9ff618006e303920ee47 (patch) | |
tree | 174de3c0f7e67153b8b77dee652f05af4b3dc504 | |
parent | 035f92c16c2e5a352a1dcde90c5c5b54d2be6152 (diff) | |
download | readline-35f6ab5a5aef3ad9c25f9ff618006e303920ee47.tar.gz readline-35f6ab5a5aef3ad9c25f9ff618006e303920ee47.tar.bz2 readline-35f6ab5a5aef3ad9c25f9ff618006e303920ee47.zip |
applied patch readline52-001
-rw-r--r-- | display.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)); |