[Scummvm-git-logs] scummvm master -> 1c5edb6fb8bd2e99aa82de32f67a0b44dee3c1ec

djsrv dservilla at gmail.com
Fri Jun 12 02:03:00 UTC 2020


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:
1c5edb6fb8 DIRECTOR: LINGO: Use load dialog for file append


Commit: 1c5edb6fb8bd2e99aa82de32f67a0b44dee3c1ec
    https://github.com/scummvm/scummvm/commit/1c5edb6fb8bd2e99aa82de32f67a0b44dee3c1ec
Author: djsrv (dservilla at gmail.com)
Date: 2020-06-11T22:02:10-04:00

Commit Message:
DIRECTOR: LINGO: Use load dialog for file append

Changed paths:
    engines/director/lingo/xlibs/fileio.cpp


diff --git a/engines/director/lingo/xlibs/fileio.cpp b/engines/director/lingo/xlibs/fileio.cpp
index b7f03bf480..6cb19bca6b 100644
--- a/engines/director/lingo/xlibs/fileio.cpp
+++ b/engines/director/lingo/xlibs/fileio.cpp
@@ -136,7 +136,7 @@ void FileIO::m_new(int nargs) {
 
 	if (option.hasPrefix("?")) {
 		option = option.substr(1);
-		GUI::FileBrowserDialog browser(0, "txt", option.equalsIgnoreCase("read") ? GUI::kFBModeLoad : GUI::kFBModeSave);
+		GUI::FileBrowserDialog browser(0, "txt", option.equalsIgnoreCase("write") ? GUI::kFBModeSave : GUI::kFBModeLoad);
 		if (browser.runModal() <= 0) {
 			g_lingo->push(Datum(kErrorFileNotFound));
 			return;




More information about the Scummvm-git-logs mailing list