diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-04 10:49:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-04 10:49:52 +0000 |
commit | 1e20b1b154d9716f9ff9fcc9c4398eb3f5762bf1 (patch) | |
tree | 9d10e16ffafe8af279955165b92e3e0b16ac5339 /src/modules/database/database.cpp | |
parent | b5ed6609e84c1ad21d29a8f2e3c490b6ccfcbe1d (diff) |
fatal error to be issued any time we can't load a Std* plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@11764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r-- | src/modules/database/database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index cd6e8f8460..3ae83a71c0 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -513,13 +513,13 @@ int LoadDatabaseModule(void) if (fileExist(szProfile)) {
// file isn't locked, just no driver could open it.
TCHAR buf[256];
- TCHAR* p = _tcsrchr(szProfile, '\\');
+ TCHAR *p = _tcsrchr(szProfile, '\\');
mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda was unable to open '%s', it's in an unknown format.\nThis profile might also be damaged, please run DbChecker which should be installed."), p ? ++p : szProfile);
MessageBox(0, buf, TranslateT("Miranda can't understand that profile"), MB_OK | MB_ICONERROR);
}
else if (!FindMirandaForProfile(szProfile)) {
TCHAR buf[256];
- TCHAR* p = _tcsrchr(szProfile, '\\');
+ TCHAR *p = _tcsrchr(szProfile, '\\');
mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda was unable to open '%s'\nIt's inaccessible or used by other application or Miranda instance"), p ? ++p : szProfile);
retry = MessageBox(0, buf, TranslateT("Miranda can't open that profile"), MB_RETRYCANCEL | MB_ICONERROR) == IDRETRY;
}
|