GlobalFree16 returns NULL on success, but DestroyAcceleratorTable

should return TRUE on success.
This commit is contained in:
Dave Hawkes 2000-06-23 16:51:19 +00:00 committed by Alexandre Julliard
parent 653d57a22a
commit fd54c98abd
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccel, INT cEntries)
*/
BOOL WINAPI DestroyAcceleratorTable( HACCEL handle )
{
return GlobalFree16(handle);
return !GlobalFree16(handle);
}
/**********************************************************************