]>
Commit | Line | Data |
---|---|---|
0a7814d6 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.092 (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 7.1.092 (extra, after 7.1.088) | |
11 | Problem: Wrong arguments for MoveWindowStructure(). | |
12 | Solution: Remove "TRUE". (Michael Henry) | |
13 | Files: src/gui_mac.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.091/src/gui_mac.c Thu Aug 30 10:34:19 2007 | |
17 | --- src/gui_mac.c Thu Aug 30 12:48:41 2007 | |
18 | *************** | |
19 | *** 3149,3155 **** | |
20 | /* TODO: Should make sure the window is move within range | |
21 | * e.g.: y > ~16 [Menu bar], x > 0, x < screen width | |
22 | */ | |
23 | ! MoveWindowStructure(gui.VimWindow, x, y, TRUE); | |
24 | } | |
25 | ||
26 | void | |
27 | --- 3149,3155 ---- | |
28 | /* TODO: Should make sure the window is move within range | |
29 | * e.g.: y > ~16 [Menu bar], x > 0, x < screen width | |
30 | */ | |
31 | ! MoveWindowStructure(gui.VimWindow, x, y); | |
32 | } | |
33 | ||
34 | void | |
35 | *************** | |
36 | *** 5293,5299 **** | |
37 | short itemType; | |
38 | short useIcon; | |
39 | short width; | |
40 | ! short totalButtonWidth = 0; /* the width of all button together | |
41 | including spacing */ | |
42 | short widestButton = 0; | |
43 | short dfltButtonEdge = 20; /* gut feeling */ | |
44 | --- 5293,5299 ---- | |
45 | short itemType; | |
46 | short useIcon; | |
47 | short width; | |
48 | ! short totalButtonWidth = 0; /* the width of all buttons together | |
49 | including spacing */ | |
50 | short widestButton = 0; | |
51 | short dfltButtonEdge = 20; /* gut feeling */ | |
52 | *************** | |
53 | *** 5483,5489 **** | |
54 | { | |
55 | ||
56 | macMoveDialogItem(theDialog, button, buttonItm.box.left, buttonItm.box.top, &box); | |
57 | ! /* With vertical, it's better to have all button the same lenght */ | |
58 | if (vertical) | |
59 | { | |
60 | macSizeDialogItem(theDialog, button, widestButton, 0); | |
61 | --- 5483,5489 ---- | |
62 | { | |
63 | ||
64 | macMoveDialogItem(theDialog, button, buttonItm.box.left, buttonItm.box.top, &box); | |
65 | ! /* With vertical, it's better to have all buttons the same length */ | |
66 | if (vertical) | |
67 | { | |
68 | macSizeDialogItem(theDialog, button, widestButton, 0); | |
69 | *** ../vim-7.1.091/src/version.c Thu Aug 30 12:24:21 2007 | |
70 | --- src/version.c Thu Aug 30 12:47:24 2007 | |
71 | *************** | |
72 | *** 668,669 **** | |
73 | --- 668,671 ---- | |
74 | { /* Add new patch number below this line */ | |
75 | + /**/ | |
76 | + 92, | |
77 | /**/ | |
78 | ||
79 | -- | |
80 | In war we're tough and able. | |
81 | Quite indefatigable | |
82 | Between our quests | |
83 | We sequin vests | |
84 | And impersonate Clark Gable | |
85 | It's a busy life in Camelot. | |
86 | I have to push the pram a lot. | |
87 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
88 | ||
89 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
90 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
91 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
92 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |