diff src/gui_x11.c @ 38:c524f99c7925 v7.0022

updated for version 7.0022
author vimboss
date Sun, 12 Dec 2004 11:37:09 +0000
parents 7f788cd27415
children 410fa1a31baf
line wrap: on
line diff
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -1988,6 +1988,20 @@ gui_mch_get_font(name, giveErrorIfMissin
     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()
 {