[MPlayer-cvslog] r30261 - trunk/loader/registry.c

reimar subversion at mplayerhq.hu
Sun Jan 10 16:31:45 CET 2010


Author: reimar
Date: Sun Jan 10 16:31:45 2010
New Revision: 30261

Log:
Fix RegCloseKey to not return an error on success.
Patch by "Steinar H. Gunderson" [sgunderson bigfoot com]

Modified:
   trunk/loader/registry.c

Modified: trunk/loader/registry.c
==============================================================================
--- trunk/loader/registry.c	Sun Jan 10 15:03:10 2010	(r30260)
+++ trunk/loader/registry.c	Sun Jan 10 16:31:45 2010	(r30261)
@@ -385,7 +385,7 @@ long __stdcall RegCloseKey(long key)
     if(handle==head)
 	head=head->prev;
     free(handle);
-    return 1;
+    return 0;
 }
 
 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved, int* type, int* data, int* count)


More information about the MPlayer-cvslog mailing list