1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-07 09:33:49 +01:00

Fix inverted assertion condition

This commit is contained in:
Paul Licameli
2020-07-23 11:32:20 -04:00
parent 5bc2cb991f
commit 3f68d0f1cd

View File

@@ -300,7 +300,7 @@ int DBConnection::CheckpointHook(void *data, sqlite3 *db, const char *schema, in
ConnectionPtr::~ConnectionPtr()
{
wxASSERT_MSG(mpConnection, wxT("Project file was not closed at shutdown"));
wxASSERT_MSG(!mpConnection, wxT("Project file was not closed at shutdown"));
}
static const AudacityProject::AttachedObjects::RegisteredFactory