[Scummvm-cvs-logs] SF.net SVN: scummvm: [32608] scummvm/trunk/common/unarj.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Jun 8 04:02:10 CEST 2008
Revision: 32608
http://scummvm.svn.sourceforge.net/scummvm/?rev=32608&view=rev
Author: thebluegr
Date: 2008-06-07 19:02:06 -0700 (Sat, 07 Jun 2008)
Log Message:
-----------
Don't attempt to close the arj file if it hasn't been opened
Modified Paths:
--------------
scummvm/trunk/common/unarj.cpp
Modified: scummvm/trunk/common/unarj.cpp
===================================================================
--- scummvm/trunk/common/unarj.cpp 2008-06-08 02:00:34 UTC (rev 32607)
+++ scummvm/trunk/common/unarj.cpp 2008-06-08 02:02:06 UTC (rev 32608)
@@ -289,6 +289,9 @@
}
void ArjFile::close() {
+ if (!_isOpen)
+ return;
+
_isOpen = false;
if (_fallBack) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list