home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.2 / 7.2.219 < prev    next >
Encoding:
Internet Message Format  |  2009-06-30  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.2.219 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.2.219 (extra)
  11. Problem:    Photon GUI is outdated.
  12. Solution:   Updates for QNX 6.4.0. (Sean Boudreau)
  13. Files:        src/gui_photon.c
  14.  
  15.  
  16. *** ../vim-7.2.218/src/gui_photon.c    2007-05-10 20:23:35.000000000 +0200
  17. --- src/gui_photon.c    2009-07-01 16:08:36.000000000 +0200
  18. ***************
  19. *** 838,844 ****
  20. --- 838,849 ----
  21.       static void
  22.   gui_ph_draw_start( void )
  23.   {
  24. +     PhGC_t *gc;
  25. +     gc = PgGetGC();
  26.       PgSetRegion( PtWidgetRid( PtFindDisjoint( gui.vimTextArea ) ) );
  27. +     PgClearClippingsCx( gc );
  28. +     PgClearTranslationCx( gc );
  29.   
  30.       PtWidgetOffset( gui.vimTextArea, &gui_ph_raw_offset );
  31.       PhTranslatePoint( &gui_ph_raw_offset, PtWidgetPos( gui.vimTextArea, NULL ) );
  32. ***************
  33. *** 2970,2976 ****
  34.       if( vim_font_name == NULL )
  35.       {
  36.       /* Default font */
  37. !     vim_font_name = "PC Term";
  38.       }
  39.   
  40.       if( STRCMP( vim_font_name, "*" ) == 0 )
  41. --- 2975,2981 ----
  42.       if( vim_font_name == NULL )
  43.       {
  44.       /* Default font */
  45. !     vim_font_name = "PC Terminal";
  46.       }
  47.   
  48.       if( STRCMP( vim_font_name, "*" ) == 0 )
  49. *** ../vim-7.2.218/src/version.c    2009-06-24 18:31:36.000000000 +0200
  50. --- src/version.c    2009-07-01 16:11:34.000000000 +0200
  51. ***************
  52. *** 678,679 ****
  53. --- 678,681 ----
  54.   {   /* Add new patch number below this line */
  55. + /**/
  56. +     219,
  57.   /**/
  58.  
  59. -- 
  60. "Oh, no!  NOT the Spanish Inquisition!"
  61. "NOBODY expects the Spanish Inquisition!!!"
  62.                 -- Monty Python sketch --
  63. "Oh, no!  NOT another option!"
  64. "EVERYBODY expects another option!!!"
  65.                 -- Discussion in vim-dev mailing list --
  66.  
  67.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  68. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  69. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  70.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  71.