From e963c904c862bafbf477a85ee60a42374ffa5bae Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Mar 2019 11:42:31 +0300 Subject: also related to #1895 - possible fix for UINs stored as Unicode strings --- protocols/ICQ-WIM/src/utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp index 6e04e15892..3f5cefb9a5 100644 --- a/protocols/ICQ-WIM/src/utils.cpp +++ b/protocols/ICQ-WIM/src/utils.cpp @@ -73,6 +73,9 @@ wchar_t* CIcqProto::GetUIN(MCONTACT hContact) ret = mir_utf8decodeW(dbv.pszVal); db_free(&dbv); return ret; + + case DBVT_WCHAR: + return dbv.pwszVal; } db_free(&dbv); } -- cgit v1.2.3