OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7106ebe
)
fix the problem that incorrectly shows the warning 'file is readonly' when saving...
author
sdottaka
<none@none>
Tue, 8 Jan 2013 21:15:21 +0000
(06:15 +0900)
committer
sdottaka
<none@none>
Tue, 8 Jan 2013 21:15:21 +0000
(06:15 +0900)
Src/MainFrm.cpp
patch
|
blob
|
history
diff --git
a/Src/MainFrm.cpp
b/Src/MainFrm.cpp
index
162d823
..
aa78329
100644
(file)
--- a/
Src/MainFrm.cpp
+++ b/
Src/MainFrm.cpp
@@
-943,7
+943,7
@@
int CMainFrame::HandleReadonlySave(String& strSavePath, BOOL bMultiFile,
TFile file(strSavePath);
bFileExists = file.exists();
if (bFileExists)
- bFileRO = file.canWrite();
+ bFileRO =
!
file.canWrite();
}
catch (...)
{