summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.2.323
blob: fc43246159a1ff55e118b5227ee99a00eedf3d7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
To: vim-dev@vim.org
Subject: Patch 7.2.323 (extra)
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.323 (extra)
Problem:    Balloon evaluation crashes on Win64.
Solution:   Change pointer types. (Sergey Khorev)
Files:	    src/gui_w32.c


*** ../vim-7.2.322/src/gui_w32.c	2009-01-28 21:22:20.000000000 +0100
--- src/gui_w32.c	2009-12-24 16:06:41.000000000 +0100
***************
*** 212,223 ****
      DWORD dwPlatformID;
  } DLLVERSIONINFO;
  
  typedef struct tagTOOLINFOA_NEW
  {
  	UINT cbSize;
  	UINT uFlags;
  	HWND hwnd;
! 	UINT uId;
  	RECT rect;
  	HINSTANCE hinst;
  	LPSTR lpszText;
--- 212,225 ----
      DWORD dwPlatformID;
  } DLLVERSIONINFO;
  
+ #include <poppack.h>
+ 
  typedef struct tagTOOLINFOA_NEW
  {
  	UINT cbSize;
  	UINT uFlags;
  	HWND hwnd;
! 	UINT_PTR uId;
  	RECT rect;
  	HINSTANCE hinst;
  	LPSTR lpszText;
***************
*** 227,241 ****
  typedef struct tagNMTTDISPINFO_NEW
  {
      NMHDR      hdr;
!     LPTSTR     lpszText;
      char       szText[80];
      HINSTANCE  hinst;
      UINT       uFlags;
      LPARAM     lParam;
  } NMTTDISPINFO_NEW;
  
- #include <poppack.h>
- 
  typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
  #ifndef TTM_SETMAXTIPWIDTH
  # define TTM_SETMAXTIPWIDTH	(WM_USER+24)
--- 229,241 ----
  typedef struct tagNMTTDISPINFO_NEW
  {
      NMHDR      hdr;
!     LPSTR      lpszText;
      char       szText[80];
      HINSTANCE  hinst;
      UINT       uFlags;
      LPARAM     lParam;
  } NMTTDISPINFO_NEW;
  
  typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
  #ifndef TTM_SETMAXTIPWIDTH
  # define TTM_SETMAXTIPWIDTH	(WM_USER+24)
*** ../vim-7.2.322/src/version.c	2009-12-24 15:45:53.000000000 +0100
--- src/version.c	2009-12-24 16:08:33.000000000 +0100
***************
*** 683,684 ****
--- 683,686 ----
  {   /* Add new patch number below this line */
+ /**/
+     323,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
46. Your wife makes a new rule: "The computer cannot come to bed."

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///