|
Karsten Hopp |
84bc65 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
84bc65 |
Subject: patch 7.1.092 (extra)
|
|
Karsten Hopp |
84bc65 |
Fcc: outbox
|
|
Karsten Hopp |
84bc65 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
84bc65 |
Mime-Version: 1.0
|
|
Karsten Hopp |
84bc65 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
84bc65 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
84bc65 |
------------
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
Patch 7.1.092 (extra, after 7.1.088)
|
|
Karsten Hopp |
84bc65 |
Problem: Wrong arguments for MoveWindowStructure().
|
|
Karsten Hopp |
84bc65 |
Solution: Remove "TRUE". (Michael Henry)
|
|
Karsten Hopp |
84bc65 |
Files: src/gui_mac.c
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
*** ../vim-7.1.091/src/gui_mac.c Thu Aug 30 10:34:19 2007
|
|
Karsten Hopp |
84bc65 |
--- src/gui_mac.c Thu Aug 30 12:48:41 2007
|
|
Karsten Hopp |
84bc65 |
***************
|
|
Karsten Hopp |
84bc65 |
*** 3149,3155 ****
|
|
Karsten Hopp |
84bc65 |
/* TODO: Should make sure the window is move within range
|
|
Karsten Hopp |
84bc65 |
* e.g.: y > ~16 [Menu bar], x > 0, x < screen width
|
|
Karsten Hopp |
84bc65 |
*/
|
|
Karsten Hopp |
84bc65 |
! MoveWindowStructure(gui.VimWindow, x, y, TRUE);
|
|
Karsten Hopp |
84bc65 |
}
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
void
|
|
Karsten Hopp |
84bc65 |
--- 3149,3155 ----
|
|
Karsten Hopp |
84bc65 |
/* TODO: Should make sure the window is move within range
|
|
Karsten Hopp |
84bc65 |
* e.g.: y > ~16 [Menu bar], x > 0, x < screen width
|
|
Karsten Hopp |
84bc65 |
*/
|
|
Karsten Hopp |
84bc65 |
! MoveWindowStructure(gui.VimWindow, x, y);
|
|
Karsten Hopp |
84bc65 |
}
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
void
|
|
Karsten Hopp |
84bc65 |
***************
|
|
Karsten Hopp |
84bc65 |
*** 5293,5299 ****
|
|
Karsten Hopp |
84bc65 |
short itemType;
|
|
Karsten Hopp |
84bc65 |
short useIcon;
|
|
Karsten Hopp |
84bc65 |
short width;
|
|
Karsten Hopp |
84bc65 |
! short totalButtonWidth = 0; /* the width of all button together
|
|
Karsten Hopp |
84bc65 |
including spacing */
|
|
Karsten Hopp |
84bc65 |
short widestButton = 0;
|
|
Karsten Hopp |
84bc65 |
short dfltButtonEdge = 20; /* gut feeling */
|
|
Karsten Hopp |
84bc65 |
--- 5293,5299 ----
|
|
Karsten Hopp |
84bc65 |
short itemType;
|
|
Karsten Hopp |
84bc65 |
short useIcon;
|
|
Karsten Hopp |
84bc65 |
short width;
|
|
Karsten Hopp |
84bc65 |
! short totalButtonWidth = 0; /* the width of all buttons together
|
|
Karsten Hopp |
84bc65 |
including spacing */
|
|
Karsten Hopp |
84bc65 |
short widestButton = 0;
|
|
Karsten Hopp |
84bc65 |
short dfltButtonEdge = 20; /* gut feeling */
|
|
Karsten Hopp |
84bc65 |
***************
|
|
Karsten Hopp |
84bc65 |
*** 5483,5489 ****
|
|
Karsten Hopp |
84bc65 |
{
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
macMoveDialogItem(theDialog, button, buttonItm.box.left, buttonItm.box.top, &box);
|
|
Karsten Hopp |
84bc65 |
! /* With vertical, it's better to have all button the same lenght */
|
|
Karsten Hopp |
84bc65 |
if (vertical)
|
|
Karsten Hopp |
84bc65 |
{
|
|
Karsten Hopp |
84bc65 |
macSizeDialogItem(theDialog, button, widestButton, 0);
|
|
Karsten Hopp |
84bc65 |
--- 5483,5489 ----
|
|
Karsten Hopp |
84bc65 |
{
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
macMoveDialogItem(theDialog, button, buttonItm.box.left, buttonItm.box.top, &box);
|
|
Karsten Hopp |
84bc65 |
! /* With vertical, it's better to have all buttons the same length */
|
|
Karsten Hopp |
84bc65 |
if (vertical)
|
|
Karsten Hopp |
84bc65 |
{
|
|
Karsten Hopp |
84bc65 |
macSizeDialogItem(theDialog, button, widestButton, 0);
|
|
Karsten Hopp |
84bc65 |
*** ../vim-7.1.091/src/version.c Thu Aug 30 12:24:21 2007
|
|
Karsten Hopp |
84bc65 |
--- src/version.c Thu Aug 30 12:47:24 2007
|
|
Karsten Hopp |
84bc65 |
***************
|
|
Karsten Hopp |
84bc65 |
*** 668,669 ****
|
|
Karsten Hopp |
84bc65 |
--- 668,671 ----
|
|
Karsten Hopp |
84bc65 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
84bc65 |
+ /**/
|
|
Karsten Hopp |
84bc65 |
+ 92,
|
|
Karsten Hopp |
84bc65 |
/**/
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
--
|
|
Karsten Hopp |
84bc65 |
In war we're tough and able.
|
|
Karsten Hopp |
84bc65 |
Quite indefatigable
|
|
Karsten Hopp |
84bc65 |
Between our quests
|
|
Karsten Hopp |
84bc65 |
We sequin vests
|
|
Karsten Hopp |
84bc65 |
And impersonate Clark Gable
|
|
Karsten Hopp |
84bc65 |
It's a busy life in Camelot.
|
|
Karsten Hopp |
84bc65 |
I have to push the pram a lot.
|
|
Karsten Hopp |
84bc65 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
84bc65 |
|
|
Karsten Hopp |
84bc65 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
84bc65 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
84bc65 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
84bc65 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|