Fix a bug when a file canno tbe opened.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2019-12-05 20:59:00 +00:00
parent 77490c6d48
commit 35765e23e4

View file

@ -100,7 +100,7 @@ HANDLE CreateFile(LPCTSTR lpFileName,
}
else
{
return nullptr;
return INVALID_HANDLE_VALUE;
}
}