diff -r b26dbb909c4e -r 83773ccf4f09 QTfrontend/mapContainer.cpp --- a/QTfrontend/mapContainer.cpp Mon Jan 08 21:44:57 2007 +0000 +++ b/QTfrontend/mapContainer.cpp Wed Jan 10 23:21:05 2007 +0000 @@ -117,9 +117,9 @@ QTextStream input(&mapCfgFile); QString theme; input >> theme; + mapCfgFile.close(); if(theme.length()>256) throw MapFileErrorException(); // theme name too long return theme; - mapCfgFile.close(); } else { throw MapFileErrorException(); }