Karsten Hopp b10cde
To: vim-dev@vim.org
Karsten Hopp b10cde
Subject: Patch 7.1.278
Karsten Hopp b10cde
Fcc: outbox
Karsten Hopp b10cde
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b10cde
Mime-Version: 1.0
Karsten Hopp b10cde
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp b10cde
Content-Transfer-Encoding: 8bit
Karsten Hopp b10cde
------------
Karsten Hopp b10cde
Karsten Hopp b10cde
Patch 7.1.278 (extra, after 7.1.275)
Karsten Hopp b10cde
Problem:    Build failure when USE_CARBONKEYHANDLER is not defined.
Karsten Hopp b10cde
Solution:   Remove #ifdef.
Karsten Hopp b10cde
Files:	    src/gui_mac.c
Karsten Hopp b10cde
Karsten Hopp b10cde
Karsten Hopp b10cde
*** ../vim-7.1.277/src/gui_mac.c	Wed Mar 12 14:38:51 2008
Karsten Hopp b10cde
--- src/gui_mac.c	Wed Mar 12 21:40:54 2008
Karsten Hopp b10cde
***************
Karsten Hopp b10cde
*** 3037,3049 ****
Karsten Hopp b10cde
  gui_mch_init(void)
Karsten Hopp b10cde
  {
Karsten Hopp b10cde
      /* TODO: Move most of this stuff toward gui_mch_init */
Karsten Hopp b10cde
!     Rect	windRect;
Karsten Hopp b10cde
!     MenuHandle	pomme;
Karsten Hopp b10cde
      EventHandlerRef mouseWheelHandlerRef;
Karsten Hopp b10cde
- #ifdef USE_CARBONKEYHANDLER
Karsten Hopp b10cde
      EventTypeSpec   eventTypeSpec;
Karsten Hopp b10cde
! #endif
Karsten Hopp b10cde
!     ControlRef rootControl;
Karsten Hopp b10cde
  
Karsten Hopp b10cde
      if (Gestalt(gestaltSystemVersion, &gMacSystemVersion) != noErr)
Karsten Hopp b10cde
  	gMacSystemVersion = 0x1000; /* TODO: Default to minimum sensible value */
Karsten Hopp b10cde
--- 3040,3050 ----
Karsten Hopp b10cde
  gui_mch_init(void)
Karsten Hopp b10cde
  {
Karsten Hopp b10cde
      /* TODO: Move most of this stuff toward gui_mch_init */
Karsten Hopp b10cde
!     Rect	    windRect;
Karsten Hopp b10cde
!     MenuHandle	    pomme;
Karsten Hopp b10cde
      EventHandlerRef mouseWheelHandlerRef;
Karsten Hopp b10cde
      EventTypeSpec   eventTypeSpec;
Karsten Hopp b10cde
!     ControlRef	    rootControl;
Karsten Hopp b10cde
  
Karsten Hopp b10cde
      if (Gestalt(gestaltSystemVersion, &gMacSystemVersion) != noErr)
Karsten Hopp b10cde
  	gMacSystemVersion = 0x1000; /* TODO: Default to minimum sensible value */
Karsten Hopp b10cde
*** ../vim-7.1.277/src/version.c	Wed Mar 12 17:37:53 2008
Karsten Hopp b10cde
--- src/version.c	Wed Mar 12 21:43:22 2008
Karsten Hopp b10cde
***************
Karsten Hopp b10cde
*** 668,669 ****
Karsten Hopp b10cde
--- 668,671 ----
Karsten Hopp b10cde
  {   /* Add new patch number below this line */
Karsten Hopp b10cde
+ /**/
Karsten Hopp b10cde
+     278,
Karsten Hopp b10cde
  /**/
Karsten Hopp b10cde
Karsten Hopp b10cde
-- 
Karsten Hopp b10cde
Would you care for a drink?   I mean, if it were, like,
Karsten Hopp b10cde
disabled and you had to look after it?
Karsten Hopp b10cde
Karsten Hopp b10cde
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b10cde
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b10cde
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp b10cde
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///