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