From eb31490e3933a3b5e3a02dc836777403ff13e69f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 24 Mar 2003 08:48:41 +0000 Subject: use description to set window title if one is specified svn-id: r6853 --- common/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/main.cpp') diff --git a/common/main.cpp b/common/main.cpp index fdb8f9463f..be2882271e 100644 --- a/common/main.cpp +++ b/common/main.cpp @@ -194,7 +194,9 @@ int main(int argc, char *argv[]) { } // Set the window caption to the game name - prop.caption = detector.getGameName().c_str(); + prop.caption = g_config->get("description", detector._gameFileName); + if (prop.caption == NULL) + prop.caption = detector.getGameName().c_str(); system->property(OSystem::PROP_SET_WINDOW_CAPTION, &prop); // See if the game should default to 1x scaler -- cgit v1.2.3