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

Diff of /trunk/Src/wptClipEncryptDlg.cpp

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

revision 48 by werner, Mon Oct 31 21:14:11 2005 UTC revision 68 by twoaday, Sat Nov 5 12:00:55 2005 UTC
# Line 109  show_invalid_recipients (HWND dlg, gpgme Line 109  show_invalid_recipients (HWND dlg, gpgme
109      p = (char *)calloc (1, len+64);      p = (char *)calloc (1, len+64);
110      if (!p)      if (!p)
111          BUG (NULL);          BUG (NULL);
112      sprintf (p, _("Recipients unsuable for encryption:\n"));      strcpy (p, _("Recipients unsuable for encryption:\n"));
113      for (k = res->invalid_recipients; k; k = k->next) {      for (k = res->invalid_recipients; k; k = k->next) {
114          get_pubkey (k->fpr, &key);          get_pubkey (k->fpr, &key);
115          strcat (p, key->subkeys->keyid+8);          strcat (p, key->subkeys->keyid+8);
# Line 132  clip_encrypt_dlg_proc (HWND dlg, UINT ms Line 132  clip_encrypt_dlg_proc (HWND dlg, UINT ms
132      gpgme_key_t *rset;      gpgme_key_t *rset;
133      gpgme_ctx_t ctx=NULL;      gpgme_ctx_t ctx=NULL;
134      gpgme_error_t err;      gpgme_error_t err;
135      refresh_cache_s rcs = {0};      int force_trust = 0;
     int force_trust = 0, opt = 0;  
136      int kmode = reg_prefs.keylist_mode? KEYLIST_ENCRYPT_MIN : KEYLIST_ENCRYPT;      int kmode = reg_prefs.keylist_mode? KEYLIST_ENCRYPT_MIN : KEYLIST_ENCRYPT;
137      int n;      int n;
138            
# Line 164  clip_encrypt_dlg_proc (HWND dlg, UINT ms Line 163  clip_encrypt_dlg_proc (HWND dlg, UINT ms
163          notify = (NMHDR *)lparam;          notify = (NMHDR *)lparam;
164          if (notify && notify->code == NM_DBLCLK &&          if (notify && notify->code == NM_DBLCLK &&
165              notify->idFrom == IDC_ENCRYPT_KEYLIST)              notify->idFrom == IDC_ENCRYPT_KEYLIST)
166              PostMessage( dlg, WM_COMMAND, MAKEWPARAM( IDOK, 0 ), NULL );              PostMessage( dlg, WM_COMMAND, MAKEWPARAM( IDOK, 0 ), 0);
167          if (notify && notify->code == LVN_COLUMNCLICK &&          if (notify && notify->code == LVN_COLUMNCLICK &&
168              notify->idFrom == IDC_ENCRYPT_KEYLIST ) {              notify->idFrom == IDC_ENCRYPT_KEYLIST ) {
169              NMLISTVIEW *p = (LPNMLISTVIEW) lparam;              NMLISTVIEW *p = (LPNMLISTVIEW) lparam;
# Line 218  clip_encrypt_dlg_proc (HWND dlg, UINT ms Line 217  clip_encrypt_dlg_proc (HWND dlg, UINT ms
217          case IDC_ENCRYPT_FNDCMD:          case IDC_ENCRYPT_FNDCMD:
218          {          {
219              char tmpbuf[64];              char tmpbuf[64];
             int n;  
220    
221              n = GetDlgItemText (dlg, IDC_ENCRYPT_FIND, tmpbuf, DIM (tmpbuf)-1);              n = GetDlgItemText (dlg, IDC_ENCRYPT_FIND, tmpbuf, DIM (tmpbuf)-1);
222              if (!n)              if (!n)

Legend:
Removed from v.48  
changed lines
  Added in v.68

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26