home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.283 < prev    next >
Encoding:
Internet Message Format  |  2003-01-06  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.283
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.283
  11. Problem:    For ":sign" the icon file name cannot contain a space.
  12. Solution:   Handle backslashes in the file name.  (Yasuhiro Matsumoto)
  13. Files:        src/ex_cmds.c
  14.  
  15.  
  16. *** ../vim61.282/src/ex_cmds.c    Sun Oct 27 14:30:34 2002
  17. --- src/ex_cmds.c    Tue Jan  7 21:03:33 2003
  18. ***************
  19. *** 5248,5259 ****
  20.               arg = skipwhite(p);
  21.               if (*arg == NUL)
  22.               break;
  23. !             p = skiptowhite(arg);
  24.               if (STRNCMP(arg, "icon=", 5) == 0)
  25.               {
  26.               arg += 5;
  27.               vim_free(sp->sn_icon);
  28.               sp->sn_icon = vim_strnsave(arg, (int)(p - arg));
  29.   #ifdef FEAT_SIGN_ICONS
  30.               if (gui.in_use)
  31.               {
  32. --- 5248,5260 ----
  33.               arg = skipwhite(p);
  34.               if (*arg == NUL)
  35.               break;
  36. !             p = skiptowhite_esc(arg);
  37.               if (STRNCMP(arg, "icon=", 5) == 0)
  38.               {
  39.               arg += 5;
  40.               vim_free(sp->sn_icon);
  41.               sp->sn_icon = vim_strnsave(arg, (int)(p - arg));
  42. +             backslash_halve(sp->sn_icon);
  43.   #ifdef FEAT_SIGN_ICONS
  44.               if (gui.in_use)
  45.               {
  46. *** ../vim61.282/src/version.c    Tue Jan  7 21:00:20 2003
  47. --- src/version.c    Tue Jan  7 21:07:29 2003
  48. ***************
  49. *** 608,609 ****
  50. --- 608,611 ----
  51.   {   /* Add new patch number below this line */
  52. + /**/
  53. +     283,
  54.   /**/
  55.  
  56. -- 
  57. `When any government, or any church for that matter, undertakes to say to
  58.  its subjects, "This you may not read, this you must not see, this you are
  59.  forbidden to know," the end result is tyranny and oppression no matter how
  60.  holy the motives' -- Robert A Heinlein, "If this goes on --"
  61.  
  62.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  63. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  64. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  65.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  66.