diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-12-14 17:30:04 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-12-14 17:30:04 +0000 |
commit | 23e627f51cbc2536d6f1dfe5c9ed00e3a370505f (patch) | |
tree | 14c0146492719797072b632f8a7a929e3a930e9a | |
parent | d6fcc2beed63ae8bc0a49d92ccb4e8c737a70172 (diff) |
translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@7211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/modules/database/dbutils.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/database/dbutils.cpp b/src/modules/database/dbutils.cpp index 75912a992a..5f2480c08c 100644 --- a/src/modules/database/dbutils.cpp +++ b/src/modules/database/dbutils.cpp @@ -137,12 +137,11 @@ static INT_PTR DbEventGetText(WPARAM wParam, LPARAM lParam) if (!nick.IsEmpty())
nick = _T("(") + nick + _T(")");
- text.Format(LPGENT("Authorization request from %s%s: %s"),
+ text.Format(TranslateT("Authorization request from %s%s: %s"),
(*tszNick == 0) ? cli.pfnGetContactDisplayName(hContact, 0) : tszNick, nick, tszReason);
return (egt->datatype == DBVT_WCHAR) ? (INT_PTR)mir_tstrdup(text) : (INT_PTR)mir_t2a(text);
}
-
- if (dbei->eventType == EVENTTYPE_FILE) {
+ else if (dbei->eventType == EVENTTYPE_FILE) {
char *buf = LPSTR(dbei->pBlob) + sizeof(DWORD);
ptrT tszFileName(getEventString(dbei, buf));
ptrT tszDescription(getEventString(dbei, buf));
|