diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-12-11 15:38:59 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-12-11 15:38:59 +0200 |
commit | 879305c459ebbf5204ccfc1cf8b257f5a725a729 (patch) | |
tree | bb71d6f486c2fd9106dcda82f1fbd0826538bcb0 /utilities.cpp | |
parent | a79026c9785c2ebffd8a59d27da3fcea57eda747 (diff) |
modified: utilities.cpp
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) { |