[Scummvm-git-logs] scummvm master -> 9a58b57623e5cc9d4abf7d342bddf7feec698189
sev-
noreply at scummvm.org
Wed Mar 18 16:03:22 UTC 2026
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
9477aa2909 GUI: Fix path parsing in unpacked themes
9a58b57623 NEWS: Mention running unpacked GUI themes
Commit: 9477aa29099d9453a6a01c072e00b541062536f2
https://github.com/scummvm/scummvm/commit/9477aa29099d9453a6a01c072e00b541062536f2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-03-18T17:02:16+01:00
Commit Message:
GUI: Fix path parsing in unpacked themes
Changed paths:
gui/ThemeEngine.cpp
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 840c3c80160..a94292f9eaa 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -1737,7 +1737,7 @@ bool ThemeEngine::getDrawDataColor(DrawData ddId, uint8 &r, uint8 &g, uint8 &b)
if (step.bgColor.set) {
r = step.bgColor.r;
- g = step.bgColor.g;
+ g = step.bgColor.g;
b = step.bgColor.b;
} else
return false;
@@ -2077,10 +2077,11 @@ Common::Archive *ThemeEngine::createUnpackedThemeArchive(const Common::FSNode &t
Common::Path themePath = themeDir.getPath();
Common::String rawThemePath = line.substr(7);
rawThemePath.trim();
+ rawThemePath.insertChar('/', 0);
- themePath = themePath.append(rawThemePath);
+ themePath += rawThemePath;
- Common::Path normalizedThemePath = Common::Path(themePath).normalize();
+ Common::Path normalizedThemePath = themePath.normalize();
Common::FSNode dir(normalizedThemePath);
Commit: 9a58b57623e5cc9d4abf7d342bddf7feec698189
https://github.com/scummvm/scummvm/commit/9a58b57623e5cc9d4abf7d342bddf7feec698189
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-03-18T17:03:04+01:00
Commit Message:
NEWS: Mention running unpacked GUI themes
Changed paths:
NEWS.md
diff --git a/NEWS.md b/NEWS.md
index e214e7abae3..3926cf1d668 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -23,6 +23,7 @@ For a more comprehensive changelog of the latest experimental code, see:
building the TinyGL component.
- Added Help button to the main interface and improved the dialog
speed.
+ - Added possibility to run unpacked GUI themes.
AGOS:
- Improved support of the Acorn releases of Simon the Sorcerer.
More information about the Scummvm-git-logs
mailing list