diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2013-10-07 19:39:16 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2013-10-07 19:39:16 +0000 |
commit | 467d647bc17911e4515c220075554af32b11cc5d (patch) | |
tree | d4b63d6e25245bcd4f02f9f48b2455c021832ba2 | |
parent | 15e38edf392c6cdb5e77d376ebf18196d9c026b0 (diff) |
fck2...
git-svn-id: http://svn.miranda-ng.org/main/trunk@6398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rwxr-xr-x | plugins/New_GPG/src/utilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index 928a7ee9f9..3c4647d0cf 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -495,8 +495,8 @@ std::wstring encrypt_file(HANDLE hContact, TCHAR *filename) name = filename; else name++; - TCHAR *file_out = new TCHAR [_tcslen(name) + _tcslen(_T("%s.gpg")) + 1]; - mir_sntprintf(file_out, _tcslen(name) + _tcslen(_T("%s.gpg")) + 1, _T("%s.gpg"), name); + TCHAR *file_out = new TCHAR [_tcslen(name) + _tcslen(_T(".gpg")) + 1]; + mir_sntprintf(file_out, _tcslen(name) + _tcslen(_T(".gpg")) + 1, _T("%s.gpg"), name); cmd.push_back(szKeyid); if(db_get_b(hcnt, szGPGModuleName, "bAlwaysTrust", 0)) { |