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.116 < prev    next >
Encoding:
Internet Message Format  |  2003-10-13  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.116 (extra)
  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.116 (extra)
  11. Problem:    German keyboard with Numlock set different from system startup
  12.         causes problems.
  13. Solution:   Ignore keys with code 0xff. (Helmut Stiegler)
  14. Files:        src/gui_w48.c
  15.  
  16.  
  17. *** ../vim-6.2.115/src/gui_w48.c    Sun Oct 12 16:42:14 2003
  18. --- src/gui_w48.c    Fri Oct  3 15:13:55 2003
  19. ***************
  20. *** 1628,1635 ****
  21.       }
  22.       if (special_keys[i].key_sym == 0)
  23.       {
  24. !         /* Some keys need C-S- where they should only need C- */
  25. !         if ((GetKeyState(VK_CONTROL) & 0x8000)
  26.               && !(GetKeyState(VK_SHIFT) & 0x8000)
  27.               && !(GetKeyState(VK_MENU) & 0x8000))
  28.           {
  29. --- 1628,1638 ----
  30.       }
  31.       if (special_keys[i].key_sym == 0)
  32.       {
  33. !         /* Some keys need C-S- where they should only need C-.
  34. !          * Ignore 0xff, Windows XP sends it when NUMLOCK has changed since
  35. !          * system startup (Helmut Stiegler, 2003 Oct 3). */
  36. !         if (vk != 0xff
  37. !             && (GetKeyState(VK_CONTROL) & 0x8000)
  38.               && !(GetKeyState(VK_SHIFT) & 0x8000)
  39.               && !(GetKeyState(VK_MENU) & 0x8000))
  40.           {
  41. *** ../vim-6.2.115/src/version.c    Sun Oct 12 17:25:14 2003
  42. --- src/version.c    Sun Oct 12 17:27:20 2003
  43. ***************
  44. *** 639,640 ****
  45. --- 639,642 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     116,
  49.   /**/
  50.  
  51. -- 
  52. hundred-and-one symptoms of being an internet addict:
  53. 179. You wonder why your household garbage can doesn't have an
  54.      "empty recycle bin" button.
  55.  
  56.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  57. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  58. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  59.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  60.