[Scummvm-cvs-logs] SF.net SVN: scummvm:[45357] scummvm/branches/branch-1-0-0/engines/gob/ videoplayer.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Oct 24 07:00:27 CEST 2009


Revision: 45357
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45357&view=rev
Author:   eriktorbjorn
Date:     2009-10-24 05:00:27 +0000 (Sat, 24 Oct 2009)

Log Message:
-----------
I think there must have been a mistake in the backport of r45352, "Gob - Fix
animations without extensions". This is what it looks like in the trunk, and it
makes more sense to me this way. But I don't know where this happens, so I
can't test it.

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/engines/gob/videoplayer.cpp

Modified: scummvm/branches/branch-1-0-0/engines/gob/videoplayer.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/gob/videoplayer.cpp	2009-10-24 03:52:38 UTC (rev 45356)
+++ scummvm/branches/branch-1-0-0/engines/gob/videoplayer.cpp	2009-10-24 05:00:27 UTC (rev 45357)
@@ -168,7 +168,7 @@
 bool VideoPlayer::findFile(char *fileName, Type &which) {
 	char *extStart = strrchr(fileName, '.');
 	// There's no empty extension, Or the filename with its current extension is not found
-	if ((extStart) && (extStart == (fileName + strlen(fileName) - 1)) || (!_vm->_dataIO->existData(fileName))) {
+	if ((extStart) && ((extStart == (fileName + strlen(fileName) - 1)) || (!_vm->_dataIO->existData(fileName)))) {
 		*extStart = 0;
 		extStart = 0;
 	}


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