Skip to content
Snippets Groups Projects
Commit fd54c98a authored by Dave Hawkes's avatar Dave Hawkes Committed by Alexandre Julliard
Browse files

GlobalFree16 returns NULL on success, but DestroyAcceleratorTable

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