The icon for Halftone was not displaying.
This commit is contained in:
parent
bb4e17202d
commit
348bb202eb
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ SDL_Surface * halftone_get_icon(magic_api * api, int which)
|
||||||
{
|
{
|
||||||
char fname[1024];
|
char fname[1024];
|
||||||
|
|
||||||
snprintf(fname, sizeof(fname), "%s/images/magic/%s.png",
|
snprintf(fname, sizeof(fname), "%s/images/magic/%s",
|
||||||
api->data_directory, icon_filenames[which]);
|
api->data_directory, icon_filenames[which]);
|
||||||
|
|
||||||
return(IMG_Load(fname));
|
return(IMG_Load(fname));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue