Fix a missing mode == in 'Replace the three bool parameters

to qof_session_begin to an enum'.
This commit is contained in:
Robert Fewell 2020-06-05 11:10:16 +01:00
parent b8d514e157
commit d4e90132d9

View File

@ -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());