/[winpt]/trunk/Src/wptClipDecryptDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptClipDecryptDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 42 by werner, Fri Oct 28 08:25:30 2005 UTC revision 47 by werner, Mon Oct 31 14:04:59 2005 UTC
# Line 38  Line 38 
38  #include "wptDlgs.h"  #include "wptDlgs.h"
39  #include "wptKeylist.h"  #include "wptKeylist.h"
40  #include "wptFileManager.h"  #include "wptFileManager.h"
41  #include "../resource.h"  #include "wptCrypto.h"
42    #include "resource.h"
43    
44  bool secret_key_available (gpgme_recipient_t rset);  bool secret_key_available (gpgme_recipient_t rset);
45    
# Line 141  clip_decrypt_dlg (HWND hwnd) Line 142  clip_decrypt_dlg (HWND hwnd)
142      else if (err) {      else if (err) {
143          int pgp_type;          int pgp_type;
144          gpg_clip_get_pgptype (&pgp_type);          gpg_clip_get_pgptype (&pgp_type);
145          if (gpgme_err_code (err) == GPG_ERR_NO_DATA && (pgp_type & PGP_MESSAGE))          if (gpgme_err_code (err) == GPG_ERR_NO_DATA
146                && (pgp_type & PGP_MESSAGE))
147              msg_box (hwnd, _("Broken OpenPGP message (maybe: quoted printable "              msg_box (hwnd, _("Broken OpenPGP message (maybe: quoted printable "
148                               "character in armor)."), _("Decryption"), MB_INFO);                               "character in armor)."),
149                         _("Decryption"), MB_INFO);
150          else          else
151              msg_box (hwnd, gpgme_strerror (err), _("Decryption"), MB_ERR);              msg_box (hwnd, gpgme_strerror (err), _("Decryption"), MB_ERR);
152          goto leave;          goto leave;

Legend:
Removed from v.42  
changed lines
  Added in v.47

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26