diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-26 16:50:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-26 16:50:14 +0000 |
commit | c992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 (patch) | |
tree | 697bdbf38a8a1f6b828a8bfbd08a478e19a82c6b /plugins/Variables | |
parent | f616294363c642d138f9dc0ef6eceae639e2434c (diff) |
- microkernel addded;
- version bumped to 0.92.2
git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables')
-rw-r--r-- | plugins/Variables/tokenregister.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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);
|