summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/XSoundNotify/src/options.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/XSoundNotify/src/options.cpp b/plugins/XSoundNotify/src/options.cpp
index 10bdb729f8..a1bbfa7eb9 100644
--- a/plugins/XSoundNotify/src/options.cpp
+++ b/plugins/XSoundNotify/src/options.cpp
@@ -72,6 +72,9 @@ static INT_PTR CALLBACK OptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
case DBVT_UTF8:
_tcscpy(uid, ptrT(mir_utf8decodeT(dbvuid.pszVal)));
break;
+
+ default:
+ _tcscpy(uid, TranslateT("(Unknown contact)"));
}
TCHAR *nick = (TCHAR *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GCDNF_TCHAR);