comparison src/gui_w48.c @ 44:af1bcb9a13c0

updated for version 7.0027
author vimboss
date Fri, 31 Dec 2004 20:56:11 +0000
parents fdf55076c53f
children 014ba200db86
comparison
equal deleted inserted replaced
43:f55897d6921d 44:af1bcb9a13c0
1247 if (font == NOFONT && giveErrorIfMissing) 1247 if (font == NOFONT && giveErrorIfMissing)
1248 EMSG2(_(e_font), name); 1248 EMSG2(_(e_font), name);
1249 return font; 1249 return font;
1250 } 1250 }
1251 1251
1252 #if defined(FEAT_EVAL) || defined(PROTO)
1252 /* 1253 /*
1253 * Return the name of font "font" in allocated memory. 1254 * Return the name of font "font" in allocated memory.
1254 * Don't know how to get the actual name, thus use the provided name. 1255 * Don't know how to get the actual name, thus use the provided name.
1255 */ 1256 */
1256 char_u * 1257 char_u *
1260 { 1261 {
1261 if (name == NULL) 1262 if (name == NULL)
1262 return NULL; 1263 return NULL;
1263 return vim_strsave(name); 1264 return vim_strsave(name);
1264 } 1265 }
1266 #endif
1265 1267
1266 void 1268 void
1267 gui_mch_free_font(GuiFont font) 1269 gui_mch_free_font(GuiFont font)
1268 { 1270 {
1269 if (font) 1271 if (font)