Commit fd54c98a authored by Dave Hawkes's avatar Dave Hawkes Committed by Alexandre Julliard

GlobalFree16 returns NULL on success, but DestroyAcceleratorTable

should return TRUE on success.
parent 653d57a2
......@@ -837,7 +837,7 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccel, INT cEntries)
*/
BOOL WINAPI DestroyAcceleratorTable( HACCEL handle )
{
return GlobalFree16(handle);
return !GlobalFree16(handle);
}
/**********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment