Mercurial > vim
changeset 1922:e65e50609469 v7.2.219
updated for version 7.2-219
author | vimboss |
---|---|
date | Wed, 01 Jul 2009 14:13:18 +0000 |
parents | f9c55e12835e |
children | 3eb34a777f49 |
files | src/gui_photon.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -838,7 +838,12 @@ gui_ph_handle_window_open( static void gui_ph_draw_start( void ) { + PhGC_t *gc; + + gc = PgGetGC(); PgSetRegion( PtWidgetRid( PtFindDisjoint( gui.vimTextArea ) ) ); + PgClearClippingsCx( gc ); + PgClearTranslationCx( gc ); PtWidgetOffset( gui.vimTextArea, &gui_ph_raw_offset ); PhTranslatePoint( &gui_ph_raw_offset, PtWidgetPos( gui.vimTextArea, NULL ) ); @@ -2970,7 +2975,7 @@ gui_mch_init_font(char_u *vim_font_name, if( vim_font_name == NULL ) { /* Default font */ - vim_font_name = "PC Term"; + vim_font_name = "PC Terminal"; } if( STRCMP( vim_font_name, "*" ) == 0 )