Fix a bug when a file canno tbe opened.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
77490c6d48
commit
35765e23e4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ HANDLE CreateFile(LPCTSTR lpFileName,
|
|||
}
|
||||
else
|
||||
{
|
||||
return nullptr;
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue