summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/ImportExport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/ImportExport.cpp')
-rw-r--r--plugins/Quotes/src/ImportExport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/ImportExport.cpp b/plugins/Quotes/src/ImportExport.cpp
index aea84a8573..06d9942d43 100644
--- a/plugins/Quotes/src/ImportExport.cpp
+++ b/plugins/Quotes/src/ImportExport.cpp
@@ -393,7 +393,7 @@ namespace
}
else if (0 == quotes_stricmp(g_pszXmlTypeAsciiz, sType.c_str()))
{
- CT2A v(sValue.c_str());
+ ptrA v(mir_t2a(sValue.c_str()));
dbs.value.pszVal = v;
dbs.value.type = DBVT_ASCIIZ;
if (set_contact_settings(hContact, dbs))
@@ -409,7 +409,7 @@ namespace
}
else if (0 == quotes_stricmp(g_pszXmlTypeWchar, sType.c_str()))
{
- CT2W val(sValue.c_str());
+ ptrW val(mir_t2u(sValue.c_str()));
dbs.value.pwszVal = val;
dbs.value.type = DBVT_WCHAR;
if (set_contact_settings(hContact, dbs))