projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49766a2
)
fix bug 739 can not create file notepad newfile.txt
author
Magnus Olsen
<magnus@greatlord.com>
Sun, 4 Sep 2005 11:47:50 +0000
(11:47 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Sun, 4 Sep 2005 11:47:50 +0000
(11:47 +0000)
at cmd prompt
svn path=/trunk/; revision=17634
reactos/subsys/system/notepad/dialog.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/notepad/dialog.c
b/reactos/subsys/system/notepad/dialog.c
index
4860135
..
aa4aae4
100644
(file)
--- a/
reactos/subsys/system/notepad/dialog.c
+++ b/
reactos/subsys/system/notepad/dialog.c
@@
-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();