From 7cb357abb283646f2cc2d47cba272ad418105cb2 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Sat, 24 Oct 2009 22:12:25 +0000 Subject: [PATCH] *Little bug fix. Images were saved as .png when they are .jpg. Delete your cached tmp images of the themes to not have doubles. --- source/themes/Theme_Downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/themes/Theme_Downloader.cpp b/source/themes/Theme_Downloader.cpp index 9fb86e83..f121dc44 100644 --- a/source/themes/Theme_Downloader.cpp +++ b/source/themes/Theme_Downloader.cpp @@ -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");