More work on fonts/skins
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@890 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
3
init.c
3
init.c
@@ -772,6 +772,7 @@ T_Gui_skin * Load_graphics(const char * skin_file)
|
||||
|
||||
// Read the "skin" file
|
||||
strcpy(filename,Data_directory);
|
||||
strcat(filename,"skins" PATH_SEPARATOR);
|
||||
strcat(filename,skin_file);
|
||||
|
||||
gui=IMG_Load(filename);
|
||||
@@ -848,7 +849,7 @@ byte * Load_font(const char * font_name)
|
||||
}
|
||||
|
||||
// Read the file containing the image
|
||||
sprintf(filename,"%sskins%sfont_%s.png", Data_directory, PATH_SEPARATOR, font_name);
|
||||
sprintf(filename,"%sskins%s%s", Data_directory, PATH_SEPARATOR, font_name);
|
||||
|
||||
image=IMG_Load(filename);
|
||||
if (!image)
|
||||
|
||||
Reference in New Issue
Block a user