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