From 9afeafd3fd1b3151c32afd6da2b5f36d3ae9a5a0 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 16 Jan 2014 22:58:38 +0100 Subject: TONY: Cleanup (don't compare pointer with false). --- engines/tony/mpal/mpal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/tony/mpal') diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp index 5f2452dcfe..19e3d43df4 100644 --- a/engines/tony/mpal/mpal.cpp +++ b/engines/tony/mpal/mpal.cpp @@ -963,7 +963,7 @@ void LocationPollThread(CORO_PARAM, const void *param) { // Ok, we can perform the action. For convenience, we do it in a new process _ctx->newItem = (LpMpalItem)globalAlloc(GMEM_FIXED | GMEM_ZEROINIT, sizeof(MpalItem)); - if (_ctx->newItem == false) { + if (!_ctx->newItem) { globalDestroy(_ctx->myThreads); globalDestroy(_ctx->myActions); -- cgit v1.2.3