summaryrefslogtreecommitdiff
path: root/src/modules/database/dbutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-14 17:13:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-14 17:13:59 +0000
commitd6fcc2beed63ae8bc0a49d92ccb4e8c737a70172 (patch)
treed75bfa8cc169817fe391f3c16150a437de46fa93 /src/modules/database/dbutils.cpp
parentac269669e9bfb1b80a731087cb3938803267a135 (diff)
oops... this line should be translatable
git-svn-id: http://svn.miranda-ng.org/main/trunk@7210 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/dbutils.cpp')
-rw-r--r--src/modules/database/dbutils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/database/dbutils.cpp b/src/modules/database/dbutils.cpp
index 6c63013a10..75912a992a 100644
--- a/src/modules/database/dbutils.cpp
+++ b/src/modules/database/dbutils.cpp
@@ -137,9 +137,8 @@ static INT_PTR DbEventGetText(WPARAM wParam, LPARAM lParam)
if (!nick.IsEmpty())
nick = _T("(") + nick + _T(")");
- text.Format(_T("Authorization request from %s%s: %s"),
+ text.Format(LPGENT("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);
}