summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clistsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistsettings.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clistsettings.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clistsettings.cpp b/plugins/Clist_modern/src/modern_clistsettings.cpp
index b3ad5d72e1..dd241971ee 100644
--- a/plugins/Clist_modern/src/modern_clistsettings.cpp
+++ b/plugins/Clist_modern/src/modern_clistsettings.cpp
@@ -377,9 +377,6 @@ void ClcCacheEntry::freeName()
void ClcCacheEntry::getName()
{
- if (UnknownConctactTranslatedName == NULL)
- UnknownConctactTranslatedName = TranslateT("(Unknown Contact)");
-
freeName();
if (m_cache_bProtoNotExists || !m_cache_cszProto) {
@@ -526,3 +523,9 @@ int PostAutoRebuidMessage(HWND hwnd)
CLM_AUTOREBUILD_WAS_POSTED = PostMessage(hwnd,CLM_AUTOREBUILD, 0, 0);
return CLM_AUTOREBUILD_WAS_POSTED;
}
+
+int OnLoadLangpack(WPARAM, LPARAM)
+{
+ UnknownConctactTranslatedName = TranslateT("(Unknown Contact)");
+ return 0;
+}