From 5c53148907435dd301c44f99ea332d20f738bd7a Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sat, 18 Sep 2021 17:30:25 +0300 Subject: [PATCH] Fix downloaded background images not showing --- nel/src/gui/group_html.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nel/src/gui/group_html.cpp b/nel/src/gui/group_html.cpp index 0cb32f25e..5d7a66eed 100644 --- a/nel/src/gui/group_html.cpp +++ b/nel/src/gui/group_html.cpp @@ -350,7 +350,7 @@ namespace NLGUI void CGroupHTML::TextureDownloadCB::finish() { // tmpdest file does not exist if download skipped (ie cache was used) - if (CFile::fileExists(tmpdest) && CFile::getFileSize(tmpdest) == 0) + if (CFile::fileExists(tmpdest) && CFile::getFileSize(tmpdest) > 0) { if (CFile::fileExists(dest)) CFile::deleteFile(dest);