fix new font setting for internal fonts

This commit is contained in:
Stefan `Sec` Zehl 2011-08-01 05:11:04 +02:00
parent 34869e2973
commit 6bd703f006
1 changed files with 3 additions and 3 deletions

View File

@ -18,10 +18,10 @@ FIL file; /* current font file */
/* Exported Functions */
void setIntFont(const struct FONT_DEF * font){
memcpy(&efont.def,font,sizeof(struct FONT_DEF));
void setIntFont(const struct FONT_DEF * newfont){
memcpy(&efont.def,newfont,sizeof(struct FONT_DEF));
efont.type=FONT_INTERNAL;
font=NULL;
font=&efont.def;
};
void setExtFont(const char *fname){