summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-06-16 13:12:07 +0000
committerBram Moolenaar <Bram@vim.org>2009-06-16 13:12:07 +0000
commitfeba08b22a367b13ce42f422a9cf8871295a401a (patch)
treedddb1e33b6ea4438d7f176cdc0bfcdfe4a28fa10 /src/os_unix.c
parentbfa2824d7ed3ef2a9987a666e9f93abd7d1e341d (diff)
downloadvim-git-feba08b22a367b13ce42f422a9cf8871295a401a.tar.gz
updated for version 7.2-200v7.2.200
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 72b17c488..591b49c91 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4305,7 +4305,8 @@ mch_call_shell(cmd, options)
ta_buf[i] = '\n';
# ifdef FEAT_MBYTE
if (has_mbyte)
- i += (*mb_ptr2len)(ta_buf + i) - 1;
+ i += (*mb_ptr2len_len)(ta_buf + i,
+ ta_len + len - i) - 1;
# endif
}