[Scummvm-git-logs] scummvm branch-2-6 -> c7cc54ba647b04421d388b0a0471ccbd2feb8bad

ccawley2011 noreply at scummvm.org
Sat Jul 23 21:32:10 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:
c7cc54ba64 GUI: Display the full engine name in the About dialog


Commit: c7cc54ba647b04421d388b0a0471ccbd2feb8bad
    https://github.com/scummvm/scummvm/commit/c7cc54ba647b04421d388b0a0471ccbd2feb8bad
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-07-23T22:16:21+01:00

Commit Message:
GUI: Display the full engine name in the About dialog

Changed paths:
    gui/about.cpp


diff --git a/gui/about.cpp b/gui/about.cpp
index 94ec8d52c37..c360021f734 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -123,9 +123,6 @@ AboutDialog::AboutDialog()
 	PluginList::const_iterator iter = plugins.begin();
 	for (; iter != plugins.end(); ++iter) {
 		Common::String str;
-		str = "C0";
-		str += (*iter)->getName();
-		addLine(str);
 
 		const Plugin *p = EngineMan.findPlugin((*iter)->getName());
 
@@ -134,6 +131,9 @@ AboutDialog::AboutDialog()
 			continue;
 		}
 
+		str = "C0";
+		str += p->get<MetaEngineDetection>().getName();
+		addLine(str);
 		str = "C2";
 		str += p->get<MetaEngineDetection>().getOriginalCopyright();
 		addLine(str);




More information about the Scummvm-git-logs mailing list