diff options
Diffstat (limited to 'src/modules')
-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));
|