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

Diff of /trunk/Src/wptKeyPropsDlg.cpp

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

revision 41 by twoaday, Fri Oct 28 07:15:26 2005 UTC revision 73 by twoaday, Tue Nov 8 07:15:13 2005 UTC
# Line 18  Line 18 
18   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19   */   */
20    
21    #ifdef HAVE_CONFIG_H
22    #include <config.h>
23    #endif
24    
25  #include <windows.h>  #include <windows.h>
26    
27  #include "../resource.h"  #include "resource.h"
28  #include "wptErrors.h"  #include "wptErrors.h"
29  #include "wptGPG.h"  #include "wptGPG.h"
30  #include "wptCommonCtl.h"  #include "wptCommonCtl.h"
# Line 152  get_validity (gpgme_key_t key) Line 156  get_validity (gpgme_key_t key)
156  static const char*  static const char*
157  get_pref_cipher (winpt_key_t k)  get_pref_cipher (winpt_key_t k)
158  {  {
     const char *sym_prefs=NULL;      
   
159      if (k->is_v3)      if (k->is_v3)
160          return "IDEA";          return "IDEA";
161      if (!k->ext->sym_prefs)      if (!k->ext->sym_prefs)
# Line 258  keyprops_dlg_proc (HWND dlg, UINT msg, W Line 260  keyprops_dlg_proc (HWND dlg, UINT msg, W
260      gpgme_validity_t valid;      gpgme_validity_t valid;
261      refresh_cache_s rcs = {0};      refresh_cache_s rcs = {0};
262      const char *inf;      const char *inf;
     int cancel = 0;  
263      int rc;      int rc;
264            
265      /* XXX: static variable (k) prevent that the dialog can      /* XXX: static variable (k) prevent that the dialog can
# Line 291  keyprops_dlg_proc (HWND dlg, UINT msg, W Line 292  keyprops_dlg_proc (HWND dlg, UINT msg, W
292          return TRUE;          return TRUE;
293    
294      case WM_DESTROY:      case WM_DESTROY:
295          unlink (get_photo_tmpname (dlg));          remove (get_photo_tmpname (dlg));
296          break;          break;
297                
298      case WM_PAINT:      case WM_PAINT:

Legend:
Removed from v.41  
changed lines
  Added in v.73

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26