GlobalFree16 returns NULL on success, but DestroyAcceleratorTable
should return TRUE on success.
This commit is contained in:
parent
653d57a22a
commit
fd54c98abd
|
@ -837,7 +837,7 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccel, INT cEntries)
|
|||
*/
|
||||
BOOL WINAPI DestroyAcceleratorTable( HACCEL handle )
|
||||
{
|
||||
return GlobalFree16(handle);
|
||||
return !GlobalFree16(handle);
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
|
Loading…
Reference in New Issue