Revision: 7149 http://playerstage.svn.sourceforge.net/playerstage/?rev=7149&view=rev Author: rtv Date: 2008-11-15 03:04:34 +0000 (Sat, 15 Nov 2008)
Log Message: ----------- major changes for 3.1 Modified Paths: -------------- code/stage/trunk/libstage/worldfile.cc Property Changed: ---------------- code/stage/trunk/libstage/worldfile.cc Modified: code/stage/trunk/libstage/worldfile.cc =================================================================== --- code/stage/trunk/libstage/worldfile.cc 2008-11-15 03:00:57 UTC (rev 7148) +++ code/stage/trunk/libstage/worldfile.cc 2008-11-15 03:04:34 UTC (rev 7149) @@ -553,11 +553,15 @@ // Read tokens from the file if (!LoadTokens(infile, include + 1)) { + fclose( infile ); //DumpTokens(); free(fullpath); return false; } + // done with the include file + fclose( infile ); + // consume the rest of the include line XX a bit of a hack - assumes // that an include is the last thing on a line while ( ch != '\n' ) Property changes on: code/stage/trunk/libstage/worldfile.cc ___________________________________________________________________ Added: svn:eol + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit