summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-25 19:06:27 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-25 19:06:27 +0300
commitdcc996f1eee938ef6acf6895708f519951c84933 (patch)
treeb088fc16af89085d822e42d317a977475aab3e4e /plugins/SmileyAdd
parentd3359c804bb31caa5f38aefdcefea282960cb88b (diff)
Telegram: fix for replacing . with smileys
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r--plugins/SmileyAdd/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp
index 9a6fa4de47..1856f2b619 100644
--- a/plugins/SmileyAdd/src/services.cpp
+++ b/plugins/SmileyAdd/src/services.cpp
@@ -358,7 +358,7 @@ static INT_PTR LoadContactSmileys(WPARAM, LPARAM lParam)
wszPath.Truncate(idx + 1);
do {
- if (!mir_wstrcmp(findData.cFileName, L".") || !mir_wstrcmp(findData.cFileName, L"."))
+ if (!mir_wstrcmp(findData.cFileName, L".") || !mir_wstrcmp(findData.cFileName, L".."))
continue;
CMStringW wszFileName = wszPath + findData.cFileName;