diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-12-16 23:23:29 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-12-16 23:23:29 +0200 |
commit | 4d6851c77b1d02968e83e60b1dfbed28cd729408 (patch) | |
tree | 6b98f2b123b23b4418c3248628890fd94262db99 /utilities.cpp | |
parent | bfc94324aca08f9ba3e89e678f17a01088f550c4 (diff) | |
parent | 8142cedd8b857edd99a92f328e8b692b32bfeba6 (diff) |
Merge branch 'new_gpg' into new_gpg_autoexchange
Diffstat (limited to 'utilities.cpp')
-rw-r--r-- | utilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities.cpp b/utilities.cpp index b462a23..b0f72c0 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -316,7 +316,7 @@ int onProtoAck(WPARAM w, LPARAM l) pxResult result; wstring cmd = _T("-o "); wstring file = filename; - wstring::size_type p1 = file.find(_T(".gpg")); + wstring::size_type p1 = file.rfind(_T(".gpg")); file.erase(p1, _tcslen(_T(".gpg"))); if(_waccess(file.c_str(), 0) != -1) { |