summaryrefslogtreecommitdiff
path: root/src/gui_beos.cc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-12-12 11:33:30 +0000
committerBram Moolenaar <Bram@vim.org>2004-12-12 11:33:30 +0000
commitd8b0cf1cc5231e19116cc3208b680a07f842bfe9 (patch)
treeef1ddd7a76427ea943296528bce82c73d5c34a1d /src/gui_beos.cc
parent293ee4d421cd55f4a3c014c1c26edf02f718cc83 (diff)
downloadvim-d8b0cf1cc5231e19116cc3208b680a07f842bfe9.zip
updated for version 7.0022
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 e2c659848..32e4db0cb 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