diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:33:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:33:30 +0000 |
commit | d8b0cf1cc5231e19116cc3208b680a07f842bfe9 (patch) | |
tree | ef1ddd7a76427ea943296528bce82c73d5c34a1d /src/gui_riscos.c | |
parent | 293ee4d421cd55f4a3c014c1c26edf02f718cc83 (diff) | |
download | vim-git-d8b0cf1cc5231e19116cc3208b680a07f842bfe9.tar.gz |
updated for version 7.0022
Diffstat (limited to 'src/gui_riscos.c')
-rw-r--r-- | src/gui_riscos.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui_riscos.c b/src/gui_riscos.c index b823a79f8..7c9555e60 100644 --- a/src/gui_riscos.c +++ b/src/gui_riscos.c @@ -1053,6 +1053,20 @@ gui_mch_get_font(name, giveErrorIfMissing) } /* + * 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. */ void |