comparison src/gui.c @ 4352:04736b4030ec v7.3.925

updated for version 7.3.925 Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Mon, 06 May 2013 04:24:17 +0200
parents 787df0fc6539
children 66803af09906
comparison
equal deleted inserted replaced
4351:e5137a5dcf15 4352:04736b4030ec
824 gui_update_screen(); /* redraw, window may show changed buffer */ 824 gui_update_screen(); /* redraw, window may show changed buffer */
825 } 825 }
826 #endif 826 #endif
827 827
828 /* 828 /*
829 * Set the font. "font_list" is a a comma separated list of font names. The 829 * Set the font. "font_list" is a comma separated list of font names. The
830 * first font name that works is used. If none is found, use the default 830 * first font name that works is used. If none is found, use the default
831 * font. 831 * font.
832 * If "fontset" is TRUE, the "font_list" is used as one name for the fontset. 832 * If "fontset" is TRUE, the "font_list" is used as one name for the fontset.
833 * Return OK when able to set the font. When it failed FAIL is returned and 833 * Return OK when able to set the font. When it failed FAIL is returned and
834 * the fonts are unchanged. 834 * the fonts are unchanged.
2374 # ifdef FEAT_MBYTE 2374 # ifdef FEAT_MBYTE
2375 if (enc_utf8) 2375 if (enc_utf8)
2376 { 2376 {
2377 int start; /* index of bytes to be drawn */ 2377 int start; /* index of bytes to be drawn */
2378 int cells; /* cellwidth of bytes to be drawn */ 2378 int cells; /* cellwidth of bytes to be drawn */
2379 int thislen; /* length of bytes to be drawin */ 2379 int thislen; /* length of bytes to be drawn */
2380 int cn; /* cellwidth of current char */ 2380 int cn; /* cellwidth of current char */
2381 int i; /* index of current char */ 2381 int i; /* index of current char */
2382 int c; /* current char value */ 2382 int c; /* current char value */
2383 int cl; /* byte length of current char */ 2383 int cl; /* byte length of current char */
2384 int comping; /* current char is composing */ 2384 int comping; /* current char is composing */
3884 else 3884 else
3885 { 3885 {
3886 gui.dragged_sb = SBAR_NONE; 3886 gui.dragged_sb = SBAR_NONE;
3887 #ifdef FEAT_GUI_GTK 3887 #ifdef FEAT_GUI_GTK
3888 /* Keep the "dragged_wp" value until after the scrolling, for when the 3888 /* Keep the "dragged_wp" value until after the scrolling, for when the
3889 * moust button is released. GTK2 doesn't send the button-up event. */ 3889 * mouse button is released. GTK2 doesn't send the button-up event. */
3890 gui.dragged_wp = NULL; 3890 gui.dragged_wp = NULL;
3891 #endif 3891 #endif
3892 } 3892 }
3893 3893
3894 /* Vertical sbar info is kept in the first sbar (the left one) */ 3894 /* Vertical sbar info is kept in the first sbar (the left one) */