diff options
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 b823a79f87..7c9555e60e 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 |