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 / 7.3 / 7.3.624 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.624
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.624
  11. Problem:    When cancelling input() it returns the third argument. That should
  12.         only happen for inputdialog().
  13. Solution:   Check if inputdialog() was used. (Hirohito Higashi)
  14. Files:        src/eval.c
  15.  
  16.  
  17. *** ../vim-7.3.623/src/eval.c    2012-07-25 16:46:59.000000000 +0200
  18. --- src/eval.c    2012-08-08 14:31:48.000000000 +0200
  19. ***************
  20. *** 12966,12972 ****
  21.           rettv->vval.v_string =
  22.           getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
  23.                     xp_type, xp_arg);
  24. !     if (rettv->vval.v_string == NULL
  25.           && argvars[1].v_type != VAR_UNKNOWN
  26.           && argvars[2].v_type != VAR_UNKNOWN)
  27.           rettv->vval.v_string = vim_strsave(get_tv_string_buf(
  28. --- 12966,12972 ----
  29.           rettv->vval.v_string =
  30.           getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
  31.                     xp_type, xp_arg);
  32. !     if (inputdialog && rettv->vval.v_string == NULL
  33.           && argvars[1].v_type != VAR_UNKNOWN
  34.           && argvars[2].v_type != VAR_UNKNOWN)
  35.           rettv->vval.v_string = vim_strsave(get_tv_string_buf(
  36. *** ../vim-7.3.623/src/version.c    2012-08-08 13:17:26.000000000 +0200
  37. --- src/version.c    2012-08-08 14:28:46.000000000 +0200
  38. ***************
  39. *** 716,717 ****
  40. --- 716,719 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     624,
  44.   /**/
  45.  
  46. -- 
  47. Your fault: core dumped
  48.  
  49.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  50. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  51. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  52.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  53.