[Scummvm-cvs-logs] SF.net SVN: scummvm:[42468] scummvm/trunk/engines/tinsel/handle.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Jul 14 10:36:06 CEST 2009
Revision: 42468
http://scummvm.svn.sourceforge.net/scummvm/?rev=42468&view=rev
Author: fingolfin
Date: 2009-07-14 08:36:06 +0000 (Tue, 14 Jul 2009)
Log Message:
-----------
TINSEL: Don't use ioFailed to check if a file was opened succesfuly
Modified Paths:
--------------
scummvm/trunk/engines/tinsel/handle.cpp
Modified: scummvm/trunk/engines/tinsel/handle.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/handle.cpp 2009-07-14 08:27:36 UTC (rev 42467)
+++ scummvm/trunk/engines/tinsel/handle.cpp 2009-07-14 08:36:06 UTC (rev 42468)
@@ -207,9 +207,7 @@
// As the theory goes, the right CD will be in there!
- cdGraphStream.clearIOFailed();
- cdGraphStream.open(szCdPlayFile);
- if (cdGraphStream.ioFailed())
+ if (!cdGraphStream.open(szCdPlayFile))
error(CANNOT_FIND_FILE, szCdPlayFile);
}
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