comparison src/gui_x11.c @ 38:c524f99c7925 v7.0022

updated for version 7.0022
author vimboss
date Sun, 12 Dec 2004 11:37:09 +0000
parents 7f788cd27415
children 410fa1a31baf
comparison
equal deleted inserted replaced
37:fdf55076c53f 38:c524f99c7925
1986 return NOFONT; 1986 return NOFONT;
1987 } 1987 }
1988 return (GuiFont)font; 1988 return (GuiFont)font;
1989 } 1989 }
1990 1990
1991 /*
1992 * Return the name of font "font" in allocated memory.
1993 * Don't know how to get the actual name, thus use the provided name.
1994 */
1995 char_u *
1996 gui_mch_get_fontname(font, name)
1997 GuiFont font;
1998 char_u *name;
1999 {
2000 if (name == NULL)
2001 return NULL;
2002 return vim_strsave(name);
2003 }
2004
1991 int 2005 int
1992 gui_mch_adjust_charsize() 2006 gui_mch_adjust_charsize()
1993 { 2007 {
1994 #ifdef FEAT_XFONTSET 2008 #ifdef FEAT_XFONTSET
1995 if (gui.fontset != NOFONTSET) 2009 if (gui.fontset != NOFONTSET)