From 35a613633a2bec681e2cb8e7dac583b16465efef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 25 Mar 2018 22:02:05 +0300 Subject: string constants with word dbchecker fixed --- plugins/Db3x_mmap/src/database.cpp | 2 +- plugins/Db3x_mmap/src/dbintf.h | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) (limited to 'plugins/Db3x_mmap/src') diff --git a/plugins/Db3x_mmap/src/database.cpp b/plugins/Db3x_mmap/src/database.cpp index 0b5eb895ce..bd7a60a893 100644 --- a/plugins/Db3x_mmap/src/database.cpp +++ b/plugins/Db3x_mmap/src/database.cpp @@ -76,7 +76,7 @@ DWORD CDb3Mmap::ReallocSpace(DWORD ofs, int oldSize, int newSize) static DWORD DatabaseCorrupted = 0; static wchar_t *msg = nullptr; static DWORD dwErr = 0; -static wchar_t tszPanic[] = LPGENW("Miranda has detected corruption in your database. This corruption may be fixed by DbChecker plugin. Please download it from https://miranda-ng.org/p/DbChecker/. Miranda will now shut down."); +static wchar_t tszPanic[] = LPGENW("Miranda has detected corruption in your database. Miranda will now shut down."); void __cdecl dbpanic(void *) { diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h index a882666539..087c159046 100644 --- a/plugins/Db3x_mmap/src/dbintf.h +++ b/plugins/Db3x_mmap/src/dbintf.h @@ -316,29 +316,6 @@ protected: DWORD GetModuleNameOfs(const char *szName); char* GetModuleNameByOfs(DWORD ofs); - //////////////////////////////////////////////////////////////////////////// - // checker - - int PeekSegment(DWORD ofs, PVOID buf, int cbBytes); - int ReadSegment(DWORD ofs, PVOID buf, int cbBytes); - int ReadWrittenSegment(DWORD ofs, PVOID buf, int cbBytes); - int SignatureValid(DWORD ofs, DWORD signature); - void FreeModuleChain(); - - DWORD ConvertModuleNameOfs(DWORD ofsOld); - void ConvertOldEvent(DBEvent*& dbei); - - int WorkSettingsChain(DBContact *dbc, int firstTime); - int WorkEventChain(DWORD ofsContact, DBContact *dbc, int firstTime); - - DWORD WriteSegment(DWORD ofs, PVOID buf, int cbBytes); - DWORD WriteEvent(DBEvent *dbe); - DWORD PeekEvent(DWORD ofs, DWORD dwContactID, DBEvent &dbe); - void WriteOfsNextToPrevious(DWORD ofsPrev, DBContact *dbc, DWORD ofsNext); - void FinishUp(DWORD ofsLast, DBContact *dbc); - - DWORD sourceFileSize, ofsAggrCur; - //////////////////////////////////////////////////////////////////////////// // encryption -- cgit v1.2.3