diff options
-rwxr-xr-x | plugins/Msg_Export/src/options.cpp | 12 | ||||
-rw-r--r-- | plugins/Msg_Export/src/version.h | 2 |
2 files changed, 7 insertions, 7 deletions
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 <stdver.h> |