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/TipperYM/mir_smileys.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/TipperYM/mir_smileys.cpp') diff --git a/plugins/TipperYM/mir_smileys.cpp b/plugins/TipperYM/mir_smileys.cpp index 23fce34db2..5af05c4b22 100644 --- a/plugins/TipperYM/mir_smileys.cpp +++ b/plugins/TipperYM/mir_smileys.cpp @@ -354,8 +354,8 @@ void DestroySmileyList(SortedList* p_list) } } } - li.List_Destroy(p_list); //this free the p_list->items member - mir_free(p_list); //this free the p_list itself (alloc by li.List_Create) + List_Destroy(p_list); //this free the p_list->items member + mir_free(p_list); //this free the p_list itself (alloc by List_Create) } // Generete the list of smileys / text to be drawn @@ -388,7 +388,7 @@ SortedList *ReplaceSmileys(const TCHAR *text, int text_size, const char *protoco return NULL; // Lets add smileys - SortedList *plText = li.List_Create(0, 10); + SortedList *plText = List_Create(0, 10); TCHAR *word_start, *word_end; TCHAR *smiley_start, *smiley_end; @@ -428,7 +428,7 @@ SortedList *ReplaceSmileys(const TCHAR *text, int text_size, const char *protoco piece->type = TEXT_PIECE_TYPE_TEXT; piece->start_pos = word_start - text; piece->len = word_end - word_start; - li.List_Insert(plText, piece, plText->realCount); + List_Insert(plText, piece, plText->realCount); word_start = word_end; } } @@ -458,7 +458,7 @@ SortedList *ReplaceSmileys(const TCHAR *text, int text_size, const char *protoco } *max_smiley_height = max(piece->smiley_height, *max_smiley_height); - li.List_Insert(plText, piece, plText->realCount); + List_Insert(plText, piece, plText->realCount); } word_start = word_end = smiley_end; @@ -480,7 +480,7 @@ SortedList *ReplaceSmileys(const TCHAR *text, int text_size, const char *protoco piece->type = TEXT_PIECE_TYPE_TEXT; piece->start_pos = word_start - text; piece->len = word_end - word_start; - li.List_Insert(plText, piece, plText->realCount); + List_Insert(plText, piece, plText->realCount); word_start = word_end; } -- cgit v1.2.3