summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-01-21 20:58:22 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-01-21 20:58:22 +0000
commit8011e6b019517dbaea7cc31f856230957a1009cf (patch)
treec8d697292fa1da5baef29bf8dd6a9051176c2ae6 /plugins/XSoundNotify/src
parent43a1216dcb4a4e381a0c917f8eb9db89119073d7 (diff)
XSoundNotify:
- Minor error fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@11891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/XSoundNotify/src')
-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);