aboutsummaryrefslogtreecommitdiff
path: root/common/main.cpp
diff options
context:
space:
mode:
authorMax Horn2002-08-31 13:29:10 +0000
committerMax Horn2002-08-31 13:29:10 +0000
commita39711e25670b366ed76534cc926ac70ea6c1edd (patch)
tree3fdba199dc0d93333d68dbb44a7e1bc571f78d93 /common/main.cpp
parent0c7771a7062fc982cbaca53fee022d9538a44f70 (diff)
downloadscummvm-rg350-a39711e25670b366ed76534cc926ac70ea6c1edd.tar.gz
scummvm-rg350-a39711e25670b366ed76534cc926ac70ea6c1edd.tar.bz2
scummvm-rg350-a39711e25670b366ed76534cc926ac70ea6c1edd.zip
fixed compilation on Mac OS X; some cleanup; moved header file scumm/smusH/rect.h to common/rect.h
svn-id: r4877
Diffstat (limited to 'common/main.cpp')
-rw-r--r--common/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/main.cpp b/common/main.cpp
index 43fd2e4563..9a43a58212 100644
--- a/common/main.cpp
+++ b/common/main.cpp
@@ -130,12 +130,10 @@ int main(int argc, char *argv[])
OSystem *system = detector.createSystem();
{
- char *s = detector.getGameName();
OSystem::Property prop;
- prop.caption = s;
+ prop.caption = detector.getGameName();
system->property(OSystem::PROP_SET_WINDOW_CAPTION, &prop);
- free(s);
}
// Create the game engine