summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-03-16 14:32:15 +0100
committerBram Moolenaar <Bram@vim.org>2012-03-16 14:32:15 +0100
commit1c0b03e857c3f0eb9201f1046150a63866ebe49e (patch)
treec53f5433a37c65126313cf4687f75b4c2f1636b1 /src/ex_cmds.c
parent84f7235bdbcc58876869ba8047530ef60443061a (diff)
downloadvim-1c0b03e857c3f0eb9201f1046150a63866ebe49e.zip
updated for version 7.3.471
Problem: Can't abort listing placed signs. Solution: Check "got_int". (Christian Brabandt)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index ba18d9d05..661fba6c7 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6729,7 +6729,7 @@ ex_sign(eap)
if (idx == SIGNCMD_LIST && *arg == NUL)
{
/* ":sign list": list all defined signs */
- for (sp = first_sign; sp != NULL; sp = sp->sn_next)
+ for (sp = first_sign; sp != NULL && !got_int; sp = sp->sn_next)
sign_list_defined(sp);
}
else if (*arg == NUL)