[Scummvm-git-logs] scummvm master -> eac7113fcedc0d6285bfe57a8fc324b381610e27
sev-
noreply at scummvm.org
Fri Nov 15 15:42:05 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:
eac7113fce BASE: Properly pass window size passed via command line. Bug #14359
Commit: eac7113fcedc0d6285bfe57a8fc324b381610e27
https://github.com/scummvm/scummvm/commit/eac7113fcedc0d6285bfe57a8fc324b381610e27
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-11-15T16:41:52+01:00
Commit Message:
BASE: Properly pass window size passed via command line. Bug #14359
Changed paths:
base/main.cpp
diff --git a/base/main.cpp b/base/main.cpp
index 3d506b0438f..40b7d2c2270 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -531,8 +531,8 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
#ifdef USE_OPENGL
if (settings.contains("last_window_width")) {
- ConfMan.setInt("last_window_width", atoi(settings["last_window_width"].c_str()));
- ConfMan.setInt("last_window_height", atoi(settings["last_window_height"].c_str()));
+ ConfMan.setInt("last_window_width", atoi(settings["last_window_width"].c_str()), Common::ConfigManager::kApplicationDomain);
+ ConfMan.setInt("last_window_height", atoi(settings["last_window_height"].c_str()), Common::ConfigManager::kApplicationDomain);
}
#endif
More information about the Scummvm-git-logs
mailing list