diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-28 13:51:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-28 13:51:31 +0000 |
commit | 62664ddb436110385595e6693dfba5b7faf3ea0c (patch) | |
tree | 74c65f52af37a02a39fbfe5087bbd7050e5d2ccf | |
parent | 44d71024b886e2e0dc27056a0a333e43a7d8de49 (diff) |
valid db plugins load order
git-svn-id: http://svn.miranda-ng.org/main/trunk@1717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/modules/database/database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index ae5e497a8d..dc55487878 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -391,7 +391,7 @@ int makeDatabase(TCHAR *profile, DATABASELINK * link, HWND hwndDlg) // enumerate all plugins that had valid DatabasePluginInfo()
int tryOpenDatabase(const TCHAR* tszProfile)
{
- for (int i=0; i < arDbPlugins.getCount(); i++) {
+ for (int i=arDbPlugins.getCount()-1; i >= 0; i--) {
DATABASELINK* p = arDbPlugins[i];
// liked the profile?
|