aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-10 15:31:45 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-10 15:31:45 +0000
commite89c898ac1193374f913bceb2067561cb6fd7425 (patch)
tree6e4b7e1e98b4fb2101ae9b0611143a107fdc47a6 /loader
parent07f7df3208a71e35167e5dfd418d6e304a56d795 (diff)
Fix RegCloseKey to not return an error on success.
Patch by "Steinar H. Gunderson" [sgunderson bigfoot com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30261 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-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)