changeset 30219:f08c45c46433

Fix RegCloseKey to not return an error on success. Patch by "Steinar H. Gunderson" [sgunderson bigfoot com]
author reimar
date Sun, 10 Jan 2010 15:31:45 +0000
parents 9247ff6e841c
children 057c8193f4d3
files loader/registry.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/registry.c	Sun Jan 10 14:03:10 2010 +0000
+++ b/loader/registry.c	Sun Jan 10 15:31:45 2010 +0000
@@ -385,7 +385,7 @@
     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)