0
0
mirror of https://github.com/vim/vim.git synced 2025-10-16 07:24:23 -04:00

updated for version 7.0022

This commit is contained in:
Bram Moolenaar
2004-12-12 11:33:30 +00:00
parent 293ee4d421
commit d8b0cf1cc5
20 changed files with 347 additions and 120 deletions

View File

@@ -1052,6 +1052,20 @@ gui_mch_get_font(name, giveErrorIfMissing)
return handle;
}
/*
* Return the name of font "font" in allocated memory.
* Don't know how to get the actual name, thus use the provided name.
*/
char_u *
gui_mch_get_fontname(font, name)
GuiFont font;
char_u *name;
{
if (name == NULL)
return NULL;
return vim_strsave(name);
}
/*
* Set the current text font.
*/