f0b6d33
To: vim-dev@vim.org
f0b6d33
Subject: Patch 7.2.219 (extra)
f0b6d33
Fcc: outbox
f0b6d33
From: Bram Moolenaar <Bram@moolenaar.net>
f0b6d33
Mime-Version: 1.0
f0b6d33
Content-Type: text/plain; charset=UTF-8
f0b6d33
Content-Transfer-Encoding: 8bit
f0b6d33
------------
f0b6d33
f0b6d33
Patch 7.2.219 (extra)
f0b6d33
Problem:    Photon GUI is outdated.
f0b6d33
Solution:   Updates for QNX 6.4.0. (Sean Boudreau)
f0b6d33
Files:	    src/gui_photon.c
f0b6d33
f0b6d33
f0b6d33
*** ../vim-7.2.218/src/gui_photon.c	2007-05-10 20:23:35.000000000 +0200
f0b6d33
--- src/gui_photon.c	2009-07-01 16:08:36.000000000 +0200
f0b6d33
***************
f0b6d33
*** 838,844 ****
f0b6d33
--- 838,849 ----
f0b6d33
      static void
f0b6d33
  gui_ph_draw_start( void )
f0b6d33
  {
f0b6d33
+     PhGC_t *gc;
f0b6d33
+ 
f0b6d33
+     gc = PgGetGC();
f0b6d33
      PgSetRegion( PtWidgetRid( PtFindDisjoint( gui.vimTextArea ) ) );
f0b6d33
+     PgClearClippingsCx( gc );
f0b6d33
+     PgClearTranslationCx( gc );
f0b6d33
  
f0b6d33
      PtWidgetOffset( gui.vimTextArea, &gui_ph_raw_offset );
f0b6d33
      PhTranslatePoint( &gui_ph_raw_offset, PtWidgetPos( gui.vimTextArea, NULL ) );
f0b6d33
***************
f0b6d33
*** 2970,2976 ****
f0b6d33
      if( vim_font_name == NULL )
f0b6d33
      {
f0b6d33
  	/* Default font */
f0b6d33
! 	vim_font_name = "PC Term";
f0b6d33
      }
f0b6d33
  
f0b6d33
      if( STRCMP( vim_font_name, "*" ) == 0 )
f0b6d33
--- 2975,2981 ----
f0b6d33
      if( vim_font_name == NULL )
f0b6d33
      {
f0b6d33
  	/* Default font */
f0b6d33
! 	vim_font_name = "PC Terminal";
f0b6d33
      }
f0b6d33
  
f0b6d33
      if( STRCMP( vim_font_name, "*" ) == 0 )
f0b6d33
*** ../vim-7.2.218/src/version.c	2009-06-24 18:31:36.000000000 +0200
f0b6d33
--- src/version.c	2009-07-01 16:11:34.000000000 +0200
f0b6d33
***************
f0b6d33
*** 678,679 ****
f0b6d33
--- 678,681 ----
f0b6d33
  {   /* Add new patch number below this line */
f0b6d33
+ /**/
f0b6d33
+     219,
f0b6d33
  /**/
f0b6d33
f0b6d33
-- 
f0b6d33
"Oh, no!  NOT the Spanish Inquisition!"
f0b6d33
"NOBODY expects the Spanish Inquisition!!!"
f0b6d33
				-- Monty Python sketch --
f0b6d33
"Oh, no!  NOT another option!"
f0b6d33
"EVERYBODY expects another option!!!"
f0b6d33
				-- Discussion in vim-dev mailing list --
f0b6d33
f0b6d33
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
f0b6d33
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
f0b6d33
\\\        download, build and distribute -- http://www.A-A-P.org        ///
f0b6d33
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///