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:
reimar 2010-01-10 15:31:45 +00:00
parent 07f7df3208
commit e89c898ac1
1 changed files with 1 additions and 1 deletions

View File

@ -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)