*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:
dimok321 2009-10-24 22:12:25 +00:00
parent a8936b0054
commit 7cb357abb2

View File

@ -510,7 +510,7 @@ int Theme_Downloader()
sprintf(url, "%s", Theme->GetImageLink(i));
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");