From 3ecac50fe24978aa1a3910f90505d9fb1276d7ca Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 1 Apr 2020 14:48:39 +0300 Subject: =?UTF-8?q?fixes=20#2264=20(Msg=5FExport:=20=D0=B2=20=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=BB=D0=B1=D1=86=D0=B5=20UIN=20=D0=BF=D0=B5=D1=80=D0=BC?= =?UTF-8?q?=D0=B0=D0=BD=D0=B5=D0=BD=D1=82=D0=BD=D1=8B=D0=B9=20=D0=BD=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/Msg_Export/src/options.cpp | 12 ++++++------ plugins/Msg_Export/src/version.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/Msg_Export') diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index e7f91192b0..932f9f3778 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -495,12 +495,12 @@ public: sItem.pszText = pa->tszAccountName; listUsers.SetItem(&sItem); - DWORD dwUIN = db_get_dw(hContact, pa->szModuleName, "UIN", 0); - wchar_t szTmp[50]; - mir_snwprintf(szTmp, L"%d", dwUIN); - sItem.iSubItem = 3; - sItem.pszText = szTmp; - listUsers.SetItem(&sItem); + ptrW wszUin(Contact_GetInfo(CNF_UNIQUEID, hContact, pa->szModuleName)); + if (wszUin) { + sItem.iSubItem = 3; + sItem.pszText = wszUin; + listUsers.SetItem(&sItem); + } listUsers.SetCheckState(sItem.iItem, g_plugin.getByte(hContact, "EnableLog", 1)); } diff --git a/plugins/Msg_Export/src/version.h b/plugins/Msg_Export/src/version.h index 3c185aefa3..2c0170c472 100644 --- a/plugins/Msg_Export/src/version.h +++ b/plugins/Msg_Export/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 3 #define __MINOR_VERSION 1 #define __RELEASE_NUM 2 -#define __BUILD_NUM 4 +#define __BUILD_NUM 5 #include -- cgit v1.2.3