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 / old / 5.4.21 < prev    next >
Encoding:
Internet Message Format  |  1999-08-09  |  2.6 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.4.21
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.4.21
  8. Problem:    Motif: Toplevel menu ordering was wrong when using tear-off items.
  9. Solution:   Don't add one to the index for a toplevel menu.
  10. Files:      src/gui_motif.c
  11.  
  12.  
  13. *** ../vim-5.4.20/src/gui_motif.c    Tue Aug 10 16:10:14 1999
  14. --- src/gui_motif.c    Tue Aug 10 16:05:12 1999
  15. ***************
  16. *** 330,338 ****
  17.           XmNbackground, gui.menu_bg_pixel,
  18.           XmNmnemonic, p_wak[0] == 'n' ? NUL : menu->mnemonic,
  19.   #if (XmVersion >= 1002)
  20. !         /* count the tearoff item (neede for LessTif) */
  21. !         XmNpositionIndex, idx + (tearoff_val == (int)XmTEAR_OFF_ENABLED
  22. !                                      ? 1 : 0),
  23.   #endif
  24.           NULL);
  25.       XmStringFree(label);
  26. --- 330,338 ----
  27.           XmNbackground, gui.menu_bg_pixel,
  28.           XmNmnemonic, p_wak[0] == 'n' ? NUL : menu->mnemonic,
  29.   #if (XmVersion >= 1002)
  30. !         /* submenu: count the tearoff item (needed for LessTif) */
  31. !         XmNpositionIndex, idx + (parent != NULL
  32. !                && tearoff_val == (int)XmTEAR_OFF_ENABLED ? 1 : 0),
  33.   #endif
  34.           NULL);
  35.       XmStringFree(label);
  36. *** ../vim-5.4.20/src/version.h    Tue Aug 10 16:10:46 1999
  37. --- src/version.h    Tue Aug 10 16:12:51 1999
  38. ***************
  39. *** 19,26 ****
  40.   #define VIM_VERSION_MINOR_STR        "4"
  41.   #define VIM_VERSION_BUILD         57
  42.   #define VIM_VERSION_BUILD_STR        "57"
  43. ! #define VIM_VERSION_PATCHLEVEL         20
  44. ! #define VIM_VERSION_PATCHLEVEL_STR    "20"
  45.   
  46.   /*
  47.    * VIM_VERSION_NODOT is used for the runtime directory name.
  48. --- 19,26 ----
  49.   #define VIM_VERSION_MINOR_STR        "4"
  50.   #define VIM_VERSION_BUILD         57
  51.   #define VIM_VERSION_BUILD_STR        "57"
  52. ! #define VIM_VERSION_PATCHLEVEL         21
  53. ! #define VIM_VERSION_PATCHLEVEL_STR    "21"
  54.   
  55.   /*
  56.    * VIM_VERSION_NODOT is used for the runtime directory name.
  57. ***************
  58. *** 30,35 ****
  59.    */
  60.   #define VIM_VERSION_NODOT    "vim54"
  61.   #define VIM_VERSION_SHORT    "5.4"
  62. ! #define VIM_VERSION_MEDIUM    "5.4.20"
  63. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.20 (1999 Aug 10)"
  64. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.20 (1999 Aug 10, compiled "
  65. --- 30,35 ----
  66.    */
  67.   #define VIM_VERSION_NODOT    "vim54"
  68.   #define VIM_VERSION_SHORT    "5.4"
  69. ! #define VIM_VERSION_MEDIUM    "5.4.21"
  70. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.21 (1999 Aug 10)"
  71. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.21 (1999 Aug 10, compiled "
  72.  
  73. --
  74. hundred-and-one symptoms of being an internet addict:
  75. 24. You realize there is not a sound in the house and you have no idea where
  76.     your children are.
  77.  
  78. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  79.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  80.