mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Fix open mode passed to CreateFile in DoSaveFile function. Patch by Johannes Anderwald.
svn path=/trunk/; revision=17603
This commit is contained in:
parent
63748df6f5
commit
b6e746354a
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ static VOID DoSaveFile(VOID)
|
|||
DWORD size;
|
||||
|
||||
hFile = CreateFile(Globals.szFileName, GENERIC_WRITE, FILE_SHARE_WRITE,
|
||||
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if(hFile == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
ShowLastError();
|
||||
|
|
Loading…
Reference in a new issue