From a39711e25670b366ed76534cc926ac70ea6c1edd Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 31 Aug 2002 13:29:10 +0000 Subject: fixed compilation on Mac OS X; some cleanup; moved header file scumm/smusH/rect.h to common/rect.h svn-id: r4877 --- common/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/main.cpp') 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 -- cgit v1.2.3