From 47e198e3b3ce4cc292ef90c7d8c0e9d10d9aaa1a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 17 Jan 2023 21:36:32 +0300 Subject: SmileyAdd: no need to register . as a smiley --- plugins/SmileyAdd/src/services.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/SmileyAdd/src') diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index abc5e3cb93..b94bdd48ad 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -344,6 +344,9 @@ INT_PTR LoadContactSmileys(WPARAM, LPARAM lParam) wszPath.Truncate(idx+1); do { + if (!mir_wstrcmp(findData.cFileName, L".") || !mir_wstrcmp(findData.cFileName, L".")) + continue; + CMStringW wszFileName = wszPath + findData.cFileName; g_SmileyPackCStore.AddSmiley(cont->pszModule, wszFileName); } while (FindNextFileW(hFind, &findData)); -- cgit v1.2.3