diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-10 15:31:45 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-10 15:31:45 +0000 |
commit | e89c898ac1193374f913bceb2067561cb6fd7425 (patch) | |
tree | 6e4b7e1e98b4fb2101ae9b0611143a107fdc47a6 /loader | |
parent | 07f7df3208a71e35167e5dfd418d6e304a56d795 (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.c | 2 |
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) |