Permalink
Browse files

updated for version 7.4.275

Problem:    When changing the type of a sign that hasn't been placed ther is
            no error message.
Solution:   Add an error message. (Christian Brabandt)
  • Loading branch information...
brammool committed May 7, 2014
1 parent a7611f6 commit f4d7f167f3c1e26f26c4b5905db553eb94aa9e81
Showing with 6 additions and 1 deletion.
  1. +4 −1 src/ex_cmds.c
  2. +2 −0 src/version.c
@@ -7275,7 +7275,10 @@ ex_sign(eap)
else
/* ":sign place {id} file={fname}": change sign type */
lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
update_debug_sign(buf, lnum);
if (lnum > 0)
update_debug_sign(buf, lnum);
else
EMSG2(_("E885: Not possible to change sign %s"), sign_name);
}
else
EMSG(_(e_invarg));
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
275,
/**/
274,
/**/

0 comments on commit f4d7f16

Please sign in to comment.