[Scummvm-cvs-logs] SF.net SVN: scummvm:[46353] scummvm/trunk/tools/create_msvc/create_msvc.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Sat Dec 12 21:54:28 CET 2009
Revision: 46353
http://scummvm.svn.sourceforge.net/scummvm/?rev=46353&view=rev
Author: strangerke
Date: 2009-12-12 20:54:28 +0000 (Sat, 12 Dec 2009)
Log Message:
-----------
create_msvc: (littleboy) Fixed closing of search handle (should use FindClose instead of CloseHandle with handles from FindFirstFile)
Modified Paths:
--------------
scummvm/trunk/tools/create_msvc/create_msvc.cpp
Modified: scummvm/trunk/tools/create_msvc/create_msvc.cpp
===================================================================
--- scummvm/trunk/tools/create_msvc/create_msvc.cpp 2009-12-12 20:50:41 UTC (rev 46352)
+++ scummvm/trunk/tools/create_msvc/create_msvc.cpp 2009-12-12 20:54:28 UTC (rev 46353)
@@ -1319,7 +1319,7 @@
result.push_back(FSNode(fileInformation.cFileName, (fileInformation.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0));
} while (FindNextFile(fileHandle, &fileInformation) == TRUE);
- CloseHandle(fileHandle);
+ FindClose(fileHandle);
#else
DIR *dirp = opendir(dir.c_str());
struct dirent *dp = NULL;
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