]>
Commit | Line | Data |
---|---|---|
d8621708 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.047 (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.047 (extra) | |
11 | Problem: Compiler warnings when using MingW. (Bill McCarthy) | |
12 | Solution: Give the s_dwLastClickTime variable a type. Initialize dwEndTime. | |
13 | Files: src/os_win32.c | |
14 | ||
15 | ||
16 | *** ../vim-6.2.046/src/os_win32.c Fri Jul 25 22:43:59 2003 | |
17 | --- src/os_win32.c Sat Jul 26 19:52:58 2003 | |
18 | *************** | |
19 | *** 778,784 **** | |
20 | #endif | |
21 | static int s_cClicks = 1; | |
22 | static BOOL s_fReleased = TRUE; | |
23 | ! static s_dwLastClickTime = 0; | |
24 | static BOOL s_fNextIsMiddle = FALSE; | |
25 | ||
26 | static DWORD cButtons = 0; /* number of buttons supported */ | |
27 | --- 778,784 ---- | |
28 | #endif | |
29 | static int s_cClicks = 1; | |
30 | static BOOL s_fReleased = TRUE; | |
31 | ! static DWORD s_dwLastClickTime = 0; | |
32 | static BOOL s_fNextIsMiddle = FALSE; | |
33 | ||
34 | static DWORD cButtons = 0; /* number of buttons supported */ | |
35 | *************** | |
36 | *** 1052,1058 **** | |
37 | static int | |
38 | WaitForChar(long msec) | |
39 | { | |
40 | ! DWORD dwNow = 0, dwEndTime; | |
41 | INPUT_RECORD ir; | |
42 | DWORD cRecords; | |
43 | char_u ch, ch2; | |
44 | --- 1052,1058 ---- | |
45 | static int | |
46 | WaitForChar(long msec) | |
47 | { | |
48 | ! DWORD dwNow = 0, dwEndTime = 0; | |
49 | INPUT_RECORD ir; | |
50 | DWORD cRecords; | |
51 | char_u ch, ch2; | |
52 | *** ../vim-6.2.046/src/version.c Sun Jul 27 14:26:54 2003 | |
53 | --- src/version.c Sun Jul 27 14:28:36 2003 | |
54 | *************** | |
55 | *** 632,633 **** | |
56 | --- 632,635 ---- | |
57 | { /* Add new patch number below this line */ | |
58 | + /**/ | |
59 | + 47, | |
60 | /**/ | |
61 | ||
62 | -- | |
63 | A village. Sound of chanting of Latin canon, punctuated by short, sharp | |
64 | cracks. It comes nearer. We see it is a line of MONKS ala SEVENTH SEAL | |
65 | flagellation scene, chanting and banging themselves on the foreheads with | |
66 | wooden boards. | |
67 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
68 | ||
69 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
70 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
71 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
72 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |