From fd54c98abd1d634f24382725c39d7584726628cd Mon Sep 17 00:00:00 2001 From: Dave Hawkes Date: Fri, 23 Jun 2000 16:51:19 +0000 Subject: [PATCH] GlobalFree16 returns NULL on success, but DestroyAcceleratorTable should return TRUE on success. --- loader/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/resource.c b/loader/resource.c index e3cfabdb751..71a55243f29 100644 --- a/loader/resource.c +++ b/loader/resource.c @@ -837,7 +837,7 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccel, INT cEntries) */ BOOL WINAPI DestroyAcceleratorTable( HACCEL handle ) { - return GlobalFree16(handle); + return !GlobalFree16(handle); } /**********************************************************************