Mercurial > vim
comparison src/gui_riscos.c @ 37:fdf55076c53f
updated for version 7.0022
author | vimboss |
---|---|
date | Sun, 12 Dec 2004 11:33:30 +0000 |
parents | 3fc0f57ecb91 |
children | af1bcb9a13c0 |
comparison
equal
deleted
inserted
replaced
36:125e80798a85 | 37:fdf55076c53f |
---|---|
1048 EMSG2(_("E611: Can't use font %s"), name); | 1048 EMSG2(_("E611: Can't use font %s"), name); |
1049 return NOFONT; | 1049 return NOFONT; |
1050 } | 1050 } |
1051 | 1051 |
1052 return handle; | 1052 return handle; |
1053 } | |
1054 | |
1055 /* | |
1056 * Return the name of font "font" in allocated memory. | |
1057 * Don't know how to get the actual name, thus use the provided name. | |
1058 */ | |
1059 char_u * | |
1060 gui_mch_get_fontname(font, name) | |
1061 GuiFont font; | |
1062 char_u *name; | |
1063 { | |
1064 if (name == NULL) | |
1065 return NULL; | |
1066 return vim_strsave(name); | |
1053 } | 1067 } |
1054 | 1068 |
1055 /* | 1069 /* |
1056 * Set the current text font. | 1070 * Set the current text font. |
1057 */ | 1071 */ |