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