Bug 798967 - Cannot Save to Any Path After Upgrading to 5.2

Fix inverted if statement condition for save success flag
This commit is contained in:
Vincent Dawans
2023-06-25 18:50:58 -07:00
parent 0e951339fa
commit e0e13604b5

View File

@@ -1612,7 +1612,7 @@ gnc_book_write_to_xml_file_v2 (QofBook* book, const char* filename,
/* Optionally wait for parallel compression threads */
if (thread)
{
if (g_thread_join (thread) != nullptr)
if (g_thread_join (thread) == nullptr)
success = false;
}