updated for version 7.0022
diff --git a/src/gui_x11.c b/src/gui_x11.c
index e57bb92..90e6fbd 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -1988,6 +1988,20 @@
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()
{