Fix file handles being left open on windows builds

This commit is contained in:
cc9cii 2014-03-01 07:24:20 +11:00
parent 5c11a94511
commit 46867ec0cf

View file

@ -219,7 +219,7 @@ LowLevelFile::LowLevelFile ()
LowLevelFile::~LowLevelFile ()
{
if (mHandle == INVALID_HANDLE_VALUE)
if (mHandle != INVALID_HANDLE_VALUE)
CloseHandle (mHandle);
}