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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_beos.cc b/src/gui_beos.cc
index 32e4db0cb4..315136559e 100644
--- a/src/gui_beos.cc
+++ b/src/gui_beos.cc
@@ -2396,6 +2396,7 @@ error:
return (GuiFont)font;
}
+#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return the name of font "font" in allocated memory.
*/
@@ -2404,6 +2405,7 @@ gui_mch_get_fontname(GuiFont font, char_u *name)
{
return vim_strsave(((VimFont *)font)->name);
}
+#endif
/*
* Set the current text font.