summaryrefslogtreecommitdiff
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-10-09 08:47:27 +0000
committerBram Moolenaar <Bram@vim.org>2007-10-09 08:47:27 +0000
commitaa8494a13eb1f8b5eb4a417bb03e7bb5ea399c57 (patch)
tree2ea989cefad82b21c425b198c68cf91f3f246ce5 /src/if_perl.xs
parentaf92ee8e89febb384c4f6a723c39b8db5d313bcd (diff)
downloadvim-git-aa8494a13eb1f8b5eb4a417bb03e7bb5ea399c57.tar.gz
updated for version 7.1-138v7.1.138
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 2e27fed24..acf7f86d8 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -445,13 +445,13 @@ msg_split(s, attr)
char *next;
char *token = (char *)s;
- while ((next = strchr(token, '\n')))
+ while ((next = strchr(token, '\n')) && !got_int)
{
*next++ = '\0'; /* replace \n with \0 */
msg_attr((char_u *)token, attr);
token = next;
}
- if (*token)
+ if (*token && !got_int)
msg_attr((char_u *)token, attr);
}