[Scummvm-git-logs] scummvm master -> 5f35e2008a8ff795d571944ef966f1cd6018e698

ccawley2011 noreply at scummvm.org
Mon May 30 16:05:08 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:
5f35e2008a GUI: Fix line wrapping in the about dialog with small screens


Commit: 5f35e2008a8ff795d571944ef966f1cd6018e698
    https://github.com/scummvm/scummvm/commit/5f35e2008a8ff795d571944ef966f1cd6018e698
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-05-30T17:04:52+01:00

Commit Message:
GUI: Fix line wrapping in the about dialog with small screens

Changed paths:
    gui/about.cpp


diff --git a/gui/about.cpp b/gui/about.cpp
index dcf1968bc9b..b47b912b6c6 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -98,11 +98,11 @@ AboutDialog::AboutDialog()
 
 	Common::String version("C0""ScummVM ");
 	version += gScummVMVersion;
-	_lines.push_back(version);
+	addLine(version);
 
 	// I18N: built on <build date> with <compiler>
 	Common::U32String date = Common::U32String::format(_("(built on %s with %s)"), gScummVMBuildDate, gScummVMCompiler);
-	_lines.push_back(Common::U32String("C2") + date);
+	addLine(Common::U32String("C2") + date);
 
 	for (i = 0; i < ARRAYSIZE(copyright_text); i++)
 		addLine(Common::U32String(copyright_text[i]));




More information about the Scummvm-git-logs mailing list