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.2.126 < prev    next >
Encoding:
Internet Message Format  |  2003-10-16  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.125
  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.2.126
  11. Problem:    Typing CTRL-C at a confirm() prompt doesn't throw an exception.
  12. Solution:   Reset "mapped_ctrl_c" in get_keystroke(), so that "got_int" is set
  13.         in _OnChar().
  14. Files:        src/misc1.c
  15.  
  16.  
  17. *** ../vim-6.2.125/src/misc1.c    Fri Oct 17 12:08:46 2003
  18. --- src/misc1.c    Wed Oct 15 11:30:39 2003
  19. ***************
  20. *** 2760,2766 ****
  21. --- 2760,2768 ----
  22.       char_u    buf[CBUFLEN];
  23.       int        len = 0;
  24.       int        n;
  25. +     int        save_mapped_ctrl_c = mapped_ctrl_c;
  26.   
  27. +     mapped_ctrl_c = FALSE;    /* mappings are not used here */
  28.       for (;;)
  29.       {
  30.       cursor_on();
  31. ***************
  32. *** 2835,2840 ****
  33. --- 2837,2844 ----
  34.   #endif
  35.       break;
  36.       }
  37. +     mapped_ctrl_c = save_mapped_ctrl_c;
  38.       return n;
  39.   }
  40.   
  41. *** ../vim-6.2.125/src/version.c    Fri Oct 17 12:13:28 2003
  42. --- src/version.c    Fri Oct 17 12:17:16 2003
  43. ***************
  44. *** 639,640 ****
  45. --- 639,642 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     126,
  49.   /**/
  50.  
  51. -- 
  52. Women are probably the main cause of free software starvation.
  53.  
  54.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  55. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  56. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  57.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  58.