diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-27 10:58:35 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-27 10:58:35 +0000 |
commit | 970c8cc95c7b01380b53d143f9b3b7de249e6fbe (patch) | |
tree | 19f1004254717a502d35688c29dae3584243e5e0 /plugins/Utils/mir_smileys.cpp | |
parent | 9291fbdf04bc65fe05611d1a60e586feb86402cc (diff) |
not needed files removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11655 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils/mir_smileys.cpp')
-rw-r--r-- | plugins/Utils/mir_smileys.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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);
|