http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c4f2a
)
programs/notepad: Correct sharing mode for opening file in notepad.
author
Alexander Law
<exclusion@gmail.com>
Fri, 28 Jan 2011 05:34:23 +0000
(08:34 +0300)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 28 Jan 2011 11:03:09 +0000
(12:03 +0100)
programs/notepad/dialog.c
patch
|
blob
|
blame
|
history
diff --git
a/programs/notepad/dialog.c
b/programs/notepad/dialog.c
index e9a650debb2c1026eb8951c368b9b4d3064b7bcc..4a99ec231086a29ea9308eefc4b444734abac02d 100644
(file)
--- a/
programs/notepad/dialog.c
+++ b/
programs/notepad/dialog.c
@@
-356,7
+356,7
@@
void DoOpenFile(LPCWSTR szFileName, ENCODING enc)
if (!DoCloseFile())
return;
- hFile = CreateFileW(szFileName, GENERIC_READ, FILE_SHARE_READ, NULL,
+ hFile = CreateFileW(szFileName, GENERIC_READ, FILE_SHARE_READ
| FILE_SHARE_WRITE
, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if(hFile == INVALID_HANDLE_VALUE)
{