mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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
This commit is contained in:
parent
8a25065a54
commit
9495945584
@ -1009,6 +1009,9 @@ qof_session_begin (QofSession *session, const char * book_id,
|
||||
#ifdef G_OS_WIN32
|
||||
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
|
||||
no backend was found (which means the part before the colon
|
||||
wasn't an access method), fall back to the file backend. */
|
||||
|
Loading…
Reference in New Issue
Block a user