mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
*Little bug fix. Images were saved as .png when they are .jpg. Delete your cached tmp images of the themes to not have doubles.
This commit is contained in:
parent
a8936b0054
commit
7cb357abb2
@ -510,7 +510,7 @@ int Theme_Downloader()
|
|||||||
sprintf(url, "%s", Theme->GetImageLink(i));
|
sprintf(url, "%s", Theme->GetImageLink(i));
|
||||||
|
|
||||||
char filepath[300];
|
char filepath[300];
|
||||||
snprintf(filepath, sizeof(filepath), "%s/tmp/%s.png", Settings.theme_downloadpath, Theme->GetThemeTitle(i));
|
snprintf(filepath, sizeof(filepath), "%s/tmp/%s.jpg", Settings.theme_downloadpath, Theme->GetThemeTitle(i));
|
||||||
|
|
||||||
FILE * storefile = fopen(filepath, "rb");
|
FILE * storefile = fopen(filepath, "rb");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user