diff options
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 480f9b6..85deb5c 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -339,8 +339,8 @@ static JABBER_HANDLER_FUNC SendHandler(IJabberInterface *ji, HXML node, void *pU { if(_tcsstr(str, _T("-----BEGIN PGP MESSAGE-----")) && _tcsstr(str, _T("-----END PGP MESSAGE-----"))) { - xi.setText(local_node, _T("This message is encrypted.")); wstring data = str; + xi.setText(local_node, _T("This message is encrypted.")); wstring::size_type p1 = data.find(_T("-----BEGIN PGP MESSAGE-----")) + _tcslen(_T("-----BEGIN PGP MESSAGE-----")); if(data.find(_T("Version: "), p1) != wstring::npos) { |