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

updated for version 7.0022

This commit is contained in:
Bram Moolenaar
2004-12-12 11:37:09 +00:00
parent d8b0cf1cc5
commit 46c9c73de8
8 changed files with 105 additions and 18 deletions

View File

@@ -1988,6 +1988,20 @@ gui_mch_get_font(name, giveErrorIfMissing)
return (GuiFont)font;
}
/*
* 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);
}
int
gui_mch_adjust_charsize()
{