From 7b44e3c9879ed7cb1ab3f64b829e0c0b09c6ffae Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Feb 2013 13:47:30 +0000 Subject: bugfix: AutoExec/OnCreateFilename setting in mirandaboot.ini doesn't work when AutoCreate=yes git-svn-id: http://svn.miranda-ng.org/main/trunk@3805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/database/database.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index e584e8d187..168a6d5f27 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -428,6 +428,7 @@ static int tryCreateDatabase(const TCHAR* ptszProfile) int err = p->makeDatabase(tszProfile); if (err == ERROR_SUCCESS) { + dbCreated = true; MIDatabase *pDb = p->Load(tszProfile); if (pDb != NULL) { fillProfileName(tszProfile); -- cgit v1.2.3