For windows, clean up error conditions before trying again to load the session.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14796 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/remove-group2
Christian Stimming 20 years ago
parent 8a25065a54
commit 9495945584

@ -1009,6 +1009,9 @@ qof_session_begin (QofSession *session, const char * book_id,
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
if (NULL == session->backend) if (NULL == session->backend)
{ {
/* Clear the error condition of previous errors */
qof_session_clear_error (session);
/* On windows, a colon can be part of a normal filename. So if /* On windows, a colon can be part of a normal filename. So if
no backend was found (which means the part before the colon no backend was found (which means the part before the colon
wasn't an access method), fall back to the file backend. */ wasn't an access method), fall back to the file backend. */

Loading…
Cancel
Save