mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
07f7df3208
commit
e89c898ac1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue