From f7545a848f2edbf2604a3ce0a2d76e4554cc9ede Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 16 Jan 2007 19:34:32 +0000 Subject: [PATCH] Fixed an off-by-one bug in the handle system --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40302 --- core/systems/HandleSys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/systems/HandleSys.cpp b/core/systems/HandleSys.cpp index 36ee9a57..f42ba3c3 100644 --- a/core/systems/HandleSys.cpp +++ b/core/systems/HandleSys.cpp @@ -756,7 +756,7 @@ bool HandleSystem::RemoveType(HandleType_t type, IdentityToken_t *ident) if (pType->opened) { QHandle *pHandle; - for (unsigned int i=1; iset || pHandle->type != type)