[Scummvm-cvs-logs] CVS: scummvm/backends/wince CEDevice.cpp,1.1,1.2

Nicolas Bacca arisme at users.sourceforge.net
Fri Feb 13 04:17:09 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15884

Modified Files:
	CEDevice.cpp 
Log Message:
Proper DLL termination

Index: CEDevice.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEDevice.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CEDevice.cpp	26 Jan 2004 08:20:26 -0000	1.1
+++ CEDevice.cpp	13 Feb 2004 12:11:14 -0000	1.2
@@ -64,7 +64,7 @@
 	GAPIOpenInput();
 	_portrait_keys = GAPIGetDefaultKeys(GX_NORMALKEYS);
 	_hasGAPIMapping = true;
-	CloseHandle(GAPI_handle);
+	FreeLibrary(GAPI_handle);
 	return true;
 }
 
@@ -79,7 +79,7 @@
 	if (!GAPICloseInput)
 		return false;
 	GAPICloseInput();
-	CloseHandle(GAPI_handle);
+	FreeLibrary(GAPI_handle);
 	return true;
 }
 





More information about the Scummvm-git-logs mailing list