|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.275
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.275
|
|
|
073263 |
Problem: When changing the type of a sign that hasn't been placed ther is
|
|
|
073263 |
no error message.
|
|
|
073263 |
Solution: Add an error message. (Christian Brabandt)
|
|
|
073263 |
Files: src/ex_cmds.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.274/src/ex_cmds.c 2014-04-29 12:15:22.856032651 +0200
|
|
|
073263 |
--- src/ex_cmds.c 2014-05-07 14:38:31.293091622 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 7275,7281 ****
|
|
|
073263 |
else
|
|
|
073263 |
/* ":sign place {id} file={fname}": change sign type */
|
|
|
073263 |
lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
|
|
|
073263 |
! update_debug_sign(buf, lnum);
|
|
|
073263 |
}
|
|
|
073263 |
else
|
|
|
073263 |
EMSG(_(e_invarg));
|
|
|
073263 |
--- 7275,7284 ----
|
|
|
073263 |
else
|
|
|
073263 |
/* ":sign place {id} file={fname}": change sign type */
|
|
|
073263 |
lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
|
|
|
073263 |
! if (lnum > 0)
|
|
|
073263 |
! update_debug_sign(buf, lnum);
|
|
|
073263 |
! else
|
|
|
073263 |
! EMSG2(_("E885: Not possible to change sign %s"), sign_name);
|
|
|
073263 |
}
|
|
|
073263 |
else
|
|
|
073263 |
EMSG(_(e_invarg));
|
|
|
073263 |
*** ../vim-7.4.274/src/version.c 2014-05-02 15:46:10.731268318 +0200
|
|
|
073263 |
--- src/version.c 2014-05-07 14:18:32.581081129 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 736,737 ****
|
|
|
073263 |
--- 736,739 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 275,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
hundred-and-one symptoms of being an internet addict:
|
|
|
073263 |
117. You are more comfortable typing in html.
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|