gnucash master: Fix a missing mode == in 'Replace the three bool parameters to qof_session_begin to an enum'.
Robert Fewell
bobit at code.gnucash.org
Fri Jun 5 06:13:06 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/d4e90132 (commit)
from https://github.com/Gnucash/gnucash/commit/b8d514e1 (commit)
commit d4e90132d9d2df6d614992be3e949a3076aa05ef
Author: Robert Fewell <14uBobIT at gmail.com>
Date: Fri Jun 5 11:10:16 2020 +0100
Fix a missing mode == in 'Replace the three bool parameters
to qof_session_begin to an enum'.
diff --git a/libgnucash/backend/xml/gnc-xml-backend.cpp b/libgnucash/backend/xml/gnc-xml-backend.cpp
index 28e9939ec..8f7b01070 100644
--- a/libgnucash/backend/xml/gnc-xml-backend.cpp
+++ b/libgnucash/backend/xml/gnc-xml-backend.cpp
@@ -126,7 +126,7 @@ GncXmlBackend::session_begin(QofSession* session, const char* new_uri,
}
if (!check_path(m_fullpath.c_str(),
- SESSION_NEW_STORE || mode == SESSION_NEW_OVERWRITE))
+ mode == SESSION_NEW_STORE || mode == SESSION_NEW_OVERWRITE))
return;
m_dirname = g_path_get_dirname (m_fullpath.c_str());
Summary of changes:
libgnucash/backend/xml/gnc-xml-backend.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list