Mercurial > vim
comparison src/gui.c @ 4250:787df0fc6539 v7.3.876
updated for version 7.3.876
Problem: #if indents are off.
Solution: Insert a space where appropriate. (Taro Muraoka)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 03 Apr 2013 21:11:39 +0200 |
parents | 0de969850c06 |
children | 04736b4030ec |
comparison
equal
deleted
inserted
replaced
4249:acf7368a2acc | 4250:787df0fc6539 |
---|---|
989 if (font == NOFONT) | 989 if (font == NOFONT) |
990 return FAIL; | 990 return FAIL; |
991 } | 991 } |
992 | 992 |
993 gui_mch_free_font(gui.wide_font); | 993 gui_mch_free_font(gui.wide_font); |
994 #ifdef FEAT_GUI_GTK | 994 # ifdef FEAT_GUI_GTK |
995 /* Avoid unnecessary overhead if 'guifontwide' is equal to 'guifont'. */ | 995 /* Avoid unnecessary overhead if 'guifontwide' is equal to 'guifont'. */ |
996 if (font != NOFONT && gui.norm_font != NOFONT | 996 if (font != NOFONT && gui.norm_font != NOFONT |
997 && pango_font_description_equal(font, gui.norm_font)) | 997 && pango_font_description_equal(font, gui.norm_font)) |
998 { | 998 { |
999 gui.wide_font = NOFONT; | 999 gui.wide_font = NOFONT; |
1000 gui_mch_free_font(font); | 1000 gui_mch_free_font(font); |
1001 } | 1001 } |
1002 else | 1002 else |
1003 #endif | 1003 # endif |
1004 gui.wide_font = font; | 1004 gui.wide_font = font; |
1005 #ifdef FEAT_GUI_MSWIN | 1005 # ifdef FEAT_GUI_MSWIN |
1006 gui_mch_wide_font_changed(); | 1006 gui_mch_wide_font_changed(); |
1007 #endif | 1007 # endif |
1008 return OK; | 1008 return OK; |
1009 } | 1009 } |
1010 #endif | 1010 #endif |
1011 | 1011 |
1012 void | 1012 void |