From 8e3dabf7d451f12ba421ec934a9603d035027736 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Mon, 21 Sep 2020 18:01:16 +0300
Subject: =?UTF-8?q?fixes=20#2571=20(MsgExport=20=D1=81=D1=82=D1=80=D0=B0?=
 =?UTF-8?q?=D0=BD=D0=BD=D0=BE=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=B0=D1=82?=
 =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0?=
 =?UTF-8?q?=D0=BA=D1=82=D1=8B=20=D1=81=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E?=
 =?UTF-8?q?=D1=87=D1=91=D0=BD=D0=BD=D1=8B=D1=85=20=D0=B0=D0=BA=D0=BA=D0=B0?=
 =?UTF-8?q?=D1=83=D0=BD=D1=82=D0=BE=D0=B2=20Message=20export=20bug)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 plugins/Msg_Export/src/utils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugins/Msg_Export')

diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp
index 5a98f610c4..99e9a18df9 100755
--- a/plugins/Msg_Export/src/utils.cpp
+++ b/plugins/Msg_Export/src/utils.cpp
@@ -349,7 +349,7 @@ wstring GetFilePathFromUser(MCONTACT hContact)
 
 			// Here we will try to avoid the (Unknown Contact) in cases where the protocol for 
 			// this user has been removed.
-			if (bNickUsed && (wcsstr(Clist_GetContactDisplayName(hContact), LPGENW("(Unknown Contact)")) != nullptr))
+			if (bNickUsed && (wcsstr(Clist_GetContactDisplayName(hContact), TranslateT("(Unknown Contact)")) != nullptr))
 				return sPrevFileName; // Then the filename must have changed from a correct path to one including the (Unknown Contact)
 
 			// file name has changed
-- 
cgit v1.2.3