diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:37:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:37:09 +0000 |
commit | 46c9c73de8def79baf8f0a34a12549f6c14944f3 (patch) | |
tree | 8a88c07c5a43bea782eb1afa74b73d3e9feb6e76 /src/gui_x11.c | |
parent | d8b0cf1cc5231e19116cc3208b680a07f842bfe9 (diff) | |
download | vim-git-46c9c73de8def79baf8f0a34a12549f6c14944f3.tar.gz |
updated for version 7.0022v7.0022
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r-- | src/gui_x11.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c index e57bb9279..90e6fbd94 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -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() { |