[Scummvm-cvs-logs] SF.net SVN: scummvm: [23795] scummvm/trunk/backends/fs/windows/windows-fs.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Aug 28 15:17:41 CEST 2006


Revision: 23795
Author:   lordhoto
Date:     2006-08-28 06:17:36 -0700 (Mon, 28 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23795&view=rev

Log Message:
-----------
Fixing the Windows FS code to not delete the first character of a node, if it is just with a filename created. (which is not working yet though, but still the first char shouldn't be skipped)

Modified Paths:
--------------
    scummvm/trunk/backends/fs/windows/windows-fs.cpp
Modified: scummvm/trunk/backends/fs/windows/windows-fs.cpp
===================================================================
--- scummvm/trunk/backends/fs/windows/windows-fs.cpp	2006-08-28 12:56:32 UTC (rev 23794)
+++ scummvm/trunk/backends/fs/windows/windows-fs.cpp	2006-08-28 13:17:36 UTC (rev 23795)
@@ -69,6 +69,9 @@
 		--cur;
 	}
 
+	if (cur == start)
+		return cur;
+
 	return cur + 1;
 }
 


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