From c992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 16:50:14 +0000 Subject: - microkernel addded; - version bumped to 0.92.2 git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/dbmodulechain.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/Db3x_mmap/dbmodulechain.cpp') diff --git a/plugins/Db3x_mmap/dbmodulechain.cpp b/plugins/Db3x_mmap/dbmodulechain.cpp index 671a239d48..5ad05b5abd 100644 --- a/plugins/Db3x_mmap/dbmodulechain.cpp +++ b/plugins/Db3x_mmap/dbmodulechain.cpp @@ -50,15 +50,15 @@ void AddToList(char *name, DWORD len, DWORD ofs) mn->name = name; mn->ofs = ofs; - if (li.List_GetIndex(&lMods,mn,&index)) + if (List_GetIndex(&lMods,mn,&index)) DatabaseCorruption( _T("%s (Module Name not unique)")); - li.List_Insert(&lMods,mn,index); + List_Insert(&lMods,mn,index); - if (li.List_GetIndex(&lOfs,mn,&index)) + if (List_GetIndex(&lOfs,mn,&index)) DatabaseCorruption( _T("%s (Module Offset not unique)")); - li.List_Insert(&lOfs,mn,index); + List_Insert(&lOfs,mn,index); } @@ -98,8 +98,8 @@ int InitModuleNames(void) void UninitModuleNames(void) { HeapDestroy(hModHeap); - li.List_Destroy(&lMods); - li.List_Destroy(&lOfs); + List_Destroy(&lMods); + List_Destroy(&lOfs); } static DWORD FindExistingModuleNameOfs(const char *szName) @@ -114,7 +114,7 @@ static DWORD FindExistingModuleNameOfs(const char *szName) if (lastmn && ModCompare(&mn,lastmn) == 0) return lastmn->ofs; - if (li.List_GetIndex(&lMods,&mn,&index)) { + if (List_GetIndex(&lMods,&mn,&index)) { pmn = (ModuleName*)lMods.items[index]; lastmn = pmn; return pmn->ofs; @@ -168,7 +168,7 @@ char *GetModuleNameByOfs(DWORD ofs) mn.name = NULL; mn.ofs = ofs; - if (li.List_GetIndex(&lOfs,&mn,&index)) { + if (List_GetIndex(&lOfs,&mn,&index)) { pmn = (ModuleName*)lOfs.items[index]; lastmn = pmn; return pmn->name; -- cgit v1.2.3