mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
fix bug 739 can not create file notepad newfile.txt
at cmd prompt svn path=/trunk/; revision=17634
This commit is contained in:
@@ -216,7 +216,7 @@ void DoOpenFile(LPCWSTR szFileName)
|
||||
return;
|
||||
|
||||
hFile = CreateFile(szFileName, GENERIC_READ, FILE_SHARE_READ, NULL,
|
||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if(hFile == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
ShowLastError();
|
||||
|
||||
Reference in New Issue
Block a user