aboutsummaryrefslogtreecommitdiff
path: root/common/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/main.cpp')
-rw-r--r--common/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.cpp b/common/main.cpp
index 802e789c6d..fa76617bc1 100644
--- a/common/main.cpp
+++ b/common/main.cpp
@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
// Set the window caption (for OSystems that support it)
OSystem::Property prop;
- prop.caption = (char *)detector.getGameName();
+ prop.caption = detector.getGameName().c_str();
system->property(OSystem::PROP_SET_WINDOW_CAPTION, &prop);
// Create the game engine