summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-14 11:42:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-14 11:42:31 +0300
commite963c904c862bafbf477a85ee60a42374ffa5bae (patch)
treec36fd6682791ec47362aba78da4976621553c014 /protocols/ICQ-WIM/src/utils.cpp
parenta5fe9b719b8b6f99375e78d048c7df8cd06cec5b (diff)
also related to #1895 - possible fix for UINs stored as Unicode strings
Diffstat (limited to 'protocols/ICQ-WIM/src/utils.cpp')
-rw-r--r--protocols/ICQ-WIM/src/utils.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}