From 970c8cc95c7b01380b53d143f9b3b7de249e6fbe Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 27 Dec 2014 10:58:35 +0000 Subject: not needed files removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11655 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Utils/mir_smileys.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Utils/mir_smileys.cpp') diff --git a/plugins/Utils/mir_smileys.cpp b/plugins/Utils/mir_smileys.cpp index ab5f666668..cb0c6c6b44 100644 --- a/plugins/Utils/mir_smileys.cpp +++ b/plugins/Utils/mir_smileys.cpp @@ -425,7 +425,7 @@ SortedList * ReplaceSmileys(const TCHAR *text, int text_size, const char *protoc piece->start_pos = next_text_pos - text; piece->len = start - next_text_pos; - List_Append(plText, piece); + List_Insert(plText, piece, plText->realCount); } // Add smiley @@ -454,7 +454,7 @@ SortedList * ReplaceSmileys(const TCHAR *text, int text_size, const char *protoc *max_smiley_height = max(piece->smiley_height, *max_smiley_height); - List_Append(plText, piece); + List_Insert(plText, piece, plText->realCount); } next_text_pos = end; @@ -470,7 +470,7 @@ SortedList * ReplaceSmileys(const TCHAR *text, int text_size, const char *protoc piece->start_pos = next_text_pos - text; piece->len = last_text_pos - next_text_pos; - List_Append(plText, piece); + List_Insert(plText, piece, plText->realCount); } CallService(MS_SMILEYADD_BATCHFREE, 0, (LPARAM)spres); -- cgit v1.2.3