summaryrefslogtreecommitdiffstats
path: root/src/gui_beos.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_beos.cc')
-rw-r--r--src/gui_beos.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui_beos.cc b/src/gui_beos.cc
index e2c659848b..32e4db0cb4 100644
--- a/src/gui_beos.cc
+++ b/src/gui_beos.cc
@@ -2397,6 +2397,15 @@ error:
}
/*
+ * Return the name of font "font" in allocated memory.
+ */
+ char_u *
+gui_mch_get_fontname(GuiFont font, char_u *name)
+{
+ return vim_strsave(((VimFont *)font)->name);
+}
+
+/*
* Set the current text font.
*/
void