fix bug 739 can not create file notepad newfile.txt at cmd prompt
Modified: trunk/reactos/subsys/system/notepad/dialog.c
--- trunk/reactos/subsys/system/notepad/dialog.c 2005-09-04 11:31:54 UTC (rev 17633) +++ trunk/reactos/subsys/system/notepad/dialog.c 2005-09-04 11:47:50 UTC (rev 17634) @@ -216,7 +216,7 @@
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();