summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Clist_modern/src/modern_clistsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clistsettings.cpp b/plugins/Clist_modern/src/modern_clistsettings.cpp
index 130a01bfc9..265647f2a1 100644
--- a/plugins/Clist_modern/src/modern_clistsettings.cpp
+++ b/plugins/Clist_modern/src/modern_clistsettings.cpp
@@ -56,7 +56,7 @@ void cliCheckCacheItem(ClcCacheEntry *pdnce)
pdnce->tszName = Clist_GetContactDisplayName(pdnce->hContact, GCDNF_NOCACHE | GCDNF_NOUNKNOWN);
if (!pdnce->tszName) {
pdnce->m_bIsUnknown = true;
- pdnce->tszName = TranslateT("(Unknown contact)");
+ pdnce->tszName = mir_wstrdup(TranslateT("(Unknown contact)"));
}
}