diff options
author | Max Horn | 2002-10-23 12:56:30 +0000 |
---|---|---|
committer | Max Horn | 2002-10-23 12:56:30 +0000 |
commit | 4625c126c61472508288600da6f75c5873ba37d8 (patch) | |
tree | 4f22355a8190d73caea7740befafe66ab8930cd4 /common/main.cpp | |
parent | 71e6b038837da7776b3a68c920ad9e9077196c17 (diff) | |
download | scummvm-rg350-4625c126c61472508288600da6f75c5873ba37d8.tar.gz scummvm-rg350-4625c126c61472508288600da6f75c5873ba37d8.tar.bz2 scummvm-rg350-4625c126c61472508288600da6f75c5873ba37d8.zip |
don't use strdup
svn-id: r5287
Diffstat (limited to 'common/main.cpp')
-rw-r--r-- | common/main.cpp | 2 |
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 |