summaryrefslogtreecommitdiffstats
path: root/loader/registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/registry.c')
-rw-r--r--loader/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/registry.c b/loader/registry.c
index c92321f4e0..37a262270e 100644
--- a/loader/registry.c
+++ b/loader/registry.c
@@ -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)