projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09785dd
)
fixed wxTempFile::Commit() broken by last check in
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 12 Jul 2003 16:08:54 +0000
(16:08 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 12 Jul 2003 16:08:54 +0000
(16:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21922
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/file.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/file.cpp
b/src/common/file.cpp
index aca1dc4d26a1f2760ce0ac0169247746bcf65194..637d450da530548d19e9e4f8c4b5f36cae642e59 100644
(file)
--- a/
src/common/file.cpp
+++ b/
src/common/file.cpp
@@
-717,7
+717,7
@@
bool wxTempFile::Commit()
return FALSE;
}
- if (
wxRenameFile(m_strTemp, m_strName) != 0
) {
+ if (
!wxRenameFile(m_strTemp, m_strName)
) {
wxLogSysError(_("can't commit changes to file '%s'"), m_strName.c_str());
return FALSE;
}