[Scummvm-git-logs] scummvm branch-2-6 -> ca709c34e71e0cd0936d7896fa71559e4adafd66

lotharsm noreply at scummvm.org
Mon Aug 1 22:22:28 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ca709c34e7 GUI: Fix constructing icons path for dummy data when clearing icons cache


Commit: ca709c34e71e0cd0936d7896fa71559e4adafd66
    https://github.com/scummvm/scummvm/commit/ca709c34e71e0cd0936d7896fa71559e4adafd66
Author: Lothar Serra Mari (mail at serra.me)
Date: 2022-08-02T00:09:28+02:00

Commit Message:
GUI: Fix constructing icons path for dummy data when clearing icons cache

This fixes the cache clearing issues mentioned in #13744 for Win32 and macOS.

Changed paths:
    gui/downloadiconsdialog.cpp


diff --git a/gui/downloadiconsdialog.cpp b/gui/downloadiconsdialog.cpp
index 96f595b9d06..9b65301ab38 100644
--- a/gui/downloadiconsdialog.cpp
+++ b/gui/downloadiconsdialog.cpp
@@ -455,7 +455,7 @@ void DownloadIconsDialog::clearCache() {
 		// Build list of previously downloaded icon files
 		for (auto ic = iconFiles.begin(); ic != iconFiles.end(); ++ic) {
 			Common::String fname = (*ic)->getName();
-			Common::FSNode fs(iconsPath + fname);
+			Common::FSNode fs(Common::Path(iconsPath).join(fname));
 			Common::WriteStream *str = fs.createWriteStream();
 
 			// Overwrite previously downloaded icon files with dummy data




More information about the Scummvm-git-logs mailing list