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/Variables/tokenregister.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Variables') diff --git a/plugins/Variables/tokenregister.cpp b/plugins/Variables/tokenregister.cpp index 56d30ffc30..54a40a5147 100644 --- a/plugins/Variables/tokenregister.cpp +++ b/plugins/Variables/tokenregister.cpp @@ -48,7 +48,7 @@ static TokenRegisterEntry* FindTokenRegisterByName(TCHAR *name) int idx; TokenRegisterEntry temp; temp.nameHash = NameHashFunction( name ); - if ( li.List_GetIndex(( SortedList* )&tokens, &temp, &idx )) + if ( List_GetIndex(( SortedList* )&tokens, &temp, &idx )) return tokens.items[ idx ]; return NULL; @@ -81,7 +81,7 @@ int deRegisterToken(TCHAR *token) { return -1; } - li.List_RemovePtr(( SortedList* )&tokens, tre ); + List_RemovePtr(( SortedList* )&tokens, tre ); LeaveCriticalSection(&csRegister); if ( !( tre->tr.flags & TRF_PARSEFUNC ) && tre->tr.szService != NULL ) @@ -151,8 +151,8 @@ INT_PTR registerToken(WPARAM wParam, LPARAM lParam) tre->tr.szCleanupService = _strdup( newVr->szCleanupService ); EnterCriticalSection(&csRegister); - li.List_GetIndex(( SortedList* )&tokens, tre, &idx ); - li.List_Insert(( SortedList* )&tokens, tre, idx ); + List_GetIndex(( SortedList* )&tokens, tre, &idx ); + List_Insert(( SortedList* )&tokens, tre, idx ); LeaveCriticalSection(&csRegister); return 0; @@ -316,7 +316,7 @@ int deinitTokenRegister() free( tre ); } - li.List_Destroy(( SortedList* )&tokens ); + List_Destroy(( SortedList* )&tokens ); LeaveCriticalSection(&csRegister); DeleteCriticalSection(&csRegister); -- cgit v1.2.3