[Scummvm-git-logs] scummvm master -> 1690f882ba070c9eda424654ee00b1c1f7b3f648
lotharsm
noreply at scummvm.org
Mon Aug 1 22:22:12 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:
1690f882ba GUI: Fix constructing icons path for dummy data when clearing icons cache
Commit: 1690f882ba070c9eda424654ee00b1c1f7b3f648
https://github.com/scummvm/scummvm/commit/1690f882ba070c9eda424654ee00b1c1f7b3f648
Author: Lothar Serra Mari (mail at serra.me)
Date: 2022-08-02T00:21:49+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