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)
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));
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 275,
/**/
274,
/**/