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