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.2 / 7.2.365 < prev    next >
Encoding:
Internet Message Format  |  2010-02-16  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.2.365 (extra)
  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.2.365 (extra)
  11. Problem:    MS-Windows with MingW: "File->Save As" does not work. (John
  12.         Marriott)
  13. Solution:   Correctly fill in structure size. (Andy Kittner)
  14. Files:        src/gui_w48.c
  15.  
  16.  
  17. *** ../vim-7.2.364/src/gui_w48.c    2010-02-17 16:31:27.000000000 +0100
  18. --- src/gui_w48.c    2010-02-17 17:30:15.000000000 +0100
  19. ***************
  20. *** 3345,3351 ****
  21.   #ifdef OPENFILENAME_SIZE_VERSION_400
  22.       /* be compatible with Windows NT 4.0 */
  23.       /* TODO: what to use for OPENFILENAMEW??? */
  24. !     fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400);
  25.   #else
  26.       fileStruct.lStructSize = sizeof(fileStruct);
  27.   #endif
  28. --- 3345,3351 ----
  29.   #ifdef OPENFILENAME_SIZE_VERSION_400
  30.       /* be compatible with Windows NT 4.0 */
  31.       /* TODO: what to use for OPENFILENAMEW??? */
  32. !     fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
  33.   #else
  34.       fileStruct.lStructSize = sizeof(fileStruct);
  35.   #endif
  36. ***************
  37. *** 3506,3512 ****
  38.       memset(&fileStruct, 0, sizeof(OPENFILENAME));
  39.   #ifdef OPENFILENAME_SIZE_VERSION_400
  40.       /* be compatible with Windows NT 4.0 */
  41. !     fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400);
  42.   #else
  43.       fileStruct.lStructSize = sizeof(fileStruct);
  44.   #endif
  45. --- 3506,3512 ----
  46.       memset(&fileStruct, 0, sizeof(OPENFILENAME));
  47.   #ifdef OPENFILENAME_SIZE_VERSION_400
  48.       /* be compatible with Windows NT 4.0 */
  49. !     fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
  50.   #else
  51.       fileStruct.lStructSize = sizeof(fileStruct);
  52.   #endif
  53. *** ../vim-7.2.364/src/version.c    2010-02-17 17:24:23.000000000 +0100
  54. --- src/version.c    2010-02-17 17:31:54.000000000 +0100
  55. ***************
  56. *** 683,684 ****
  57. --- 683,686 ----
  58.   {   /* Add new patch number below this line */
  59. + /**/
  60. +     365,
  61.   /**/
  62.  
  63.  
  64. -- 
  65. hundred-and-one symptoms of being an internet addict:
  66. 246. You use up your free 100 hours in less than a week.
  67.  
  68.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  69. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  70. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  71.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  72.