core/systems/HandleSys.cpp
changeset 247 c110039da326
parent 229 7819a42069e4
child 252 ce166c465bad
     1.1 --- a/core/systems/HandleSys.cpp	Mon Jan 01 03:40:29 2007 +0000
     1.2 +++ b/core/systems/HandleSys.cpp	Mon Jan 01 10:33:51 2007 +0000
     1.3 @@ -465,7 +465,7 @@
     1.4  		{
     1.5  			return HandleError_Type;
     1.6  		}
     1.7 -	} else {
     1.8 +	} else if (type) {
     1.9  		if (pHandle->type != type)
    1.10  		{
    1.11  			return HandleError_Type;