summaryrefslogtreecommitdiffstats
path: root/src/gui_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-12-12 11:37:09 +0000
committerBram Moolenaar <Bram@vim.org>2004-12-12 11:37:09 +0000
commit46c9c73de8def79baf8f0a34a12549f6c14944f3 (patch)
tree8a88c07c5a43bea782eb1afa74b73d3e9feb6e76 /src/gui_x11.c
parentd8b0cf1cc5231e19116cc3208b680a07f842bfe9 (diff)
updated for version 7.0022v7.0022
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r--src/gui_x11.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c
index e57bb9279f..90e6fbd946 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -1988,6 +1988,20 @@ gui_mch_get_font(name, giveErrorIfMissing)
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()
{