[Scummvm-git-logs] scummvm master -> 6a1909a162f0b3e9ea305329e43ee92a4a52f249
bluegr
noreply at scummvm.org
Mon Jan 8 15:18:43 UTC 2024
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:
6a1909a162 GUI: Fix garbled browser last path on Windows
Commit: 6a1909a162f0b3e9ea305329e43ee92a4a52f249
https://github.com/scummvm/scummvm/commit/6a1909a162f0b3e9ea305329e43ee92a4a52f249
Author: elasota (1137273+elasota at users.noreply.github.com)
Date: 2024-01-08T17:18:40+02:00
Commit Message:
GUI: Fix garbled browser last path on Windows
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index 0625c15d049..5add84ddac3 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2514,7 +2514,7 @@ void GlobalOptionsDialog::addPathsControls(GuiObject *boss, const Common::String
Common::U32String browserPath = _("<default>");
if (ConfMan.hasKey("browser_lastpath"))
- browserPath = ConfMan.get("browser_lastpath");
+ browserPath = ConfMan.getPath("browser_lastpath").toString(Common::Path::kNativeSeparator);
// I18N: Referring to the last path memorized when adding a game
_browserPath = new StaticTextWidget(boss, prefix + "BrowserPath", _("Last browser path: ") + browserPath, browserPath);
More information about the Scummvm-git-logs
mailing list