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

Diff of /trunk/Src/WinPT.cpp

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

revision 3 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 4 by twoaday, Sun Feb 6 11:11:40 2005 UTC
# Line 127  get_prog_part (const char * fname, int u Line 127  get_prog_part (const char * fname, int u
127              return NULL;              return NULL;
128          strncpy (currdir, cmd, 255);          strncpy (currdir, cmd, 255);
129          j = strlen (currdir);          j = strlen (currdir);
130          while (j--)          while (j--) {
         {        
131              if (currdir[j] == '\\')              if (currdir[j] == '\\')
132                  break;                            break;          
133          }          }
# Line 429  start: Line 428  start:
428                                   hwnd, keygen_wizard_dlg_proc, (LPARAM)&c);                                   hwnd, keygen_wizard_dlg_proc, (LPARAM)&c);
429              if (!rc)              if (!rc)
430                  goto start;                  goto start;
             update_keycache (hwnd);  
             check_crypto_engine ();  
431              break;              break;
432    
433          case SETUP_IMPORT:          case SETUP_IMPORT:
# Line 439  start: Line 436  start:
436                  msg_box (hwnd, winpt_strerror (rc), _("WinPT Error"), MB_ERR);                  msg_box (hwnd, winpt_strerror (rc), _("WinPT Error"), MB_ERR);
437                  goto start;                  goto start;
438              }              }
             update_keycache (hwnd);  
             check_crypto_engine ();  
439              break;              break;
440    
441          case SETUP_EXISTING:          case SETUP_EXISTING:
442              break; /* todo */              DialogBoxParam (glob_hinst, (LPCTSTR)IDD_WINPT_GPGPREFS, hwnd,
443                                gpgprefs_dlg_proc, NULL);
444                break;
445    
446          case -1:          case -1:
447              DestroyWindow (hwnd);              DestroyWindow (hwnd);
448              free_gnupg_table ();              free_gnupg_table ();
449              return 0;              return 0;
450          }          }
451            update_keycache (hwnd);
452            check_crypto_engine ();
453      }      }
454      else {      else {
455          gpgme_keycache_t c;          gpgme_keycache_t c;

Legend:
Removed from v.3  
changed lines
  Added in v.4

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26