/[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 25 by twoaday, Wed Oct 12 10:04:26 2005 UTC revision 26 by twoaday, Mon Oct 17 08:49:30 2005 UTC
# Line 151  get_prog_part (const char * fname, int u Line 151  get_prog_part (const char * fname, int u
151  static int  static int
152  check_crypto_engine (void)  check_crypto_engine (void)
153  {  {
154      int ma=1, mi=4, pa=0; /* GPG 1.4.0 */      int ma=1, mi=4, pa=1; /* GPG 1.4.1 */
155      int rc;      int rc;
156    
157      rc = check_gnupg_engine (&ma, &mi, &pa);      rc = check_gnupg_engine (&ma, &mi, &pa);
# Line 214  enable_mobile_mode (void) Line 214  enable_mobile_mode (void)
214    
215  char* get_subkey_fingerprint (gpgme_ctx_t ctx, const char *keyid);  char* get_subkey_fingerprint (gpgme_ctx_t ctx, const char *keyid);
216    
 int WINAPI  
217    
218    int WINAPI
219  WinMain (HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int showcmd)  WinMain (HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int showcmd)
220  {  {
221      WNDCLASS wc = {0, winpt_main_proc, 0, 0, hinst, 0, 0, 0, 0, PGM_NAME};      WNDCLASS wc = {0, winpt_main_proc, 0, 0, hinst, 0, 0, 0, 0, PGM_NAME};
# Line 384  WinMain (HINSTANCE hinst, HINSTANCE hpre Line 384  WinMain (HINSTANCE hinst, HINSTANCE hpre
384                              GetDesktopWindow(), keymanager_dlg_proc, NULL,                              GetDesktopWindow(), keymanager_dlg_proc, NULL,
385                              _("Key Manager"), IDS_WINPT_KEYMISC);                                _("Key Manager"), IDS_WINPT_KEYMISC);  
386          else {          else {
387              gpg_card_t crd = smartcard_init ();              gpg_card_t crd = gpg_card_load ();
388              if (crd)              if (crd)
389                  dialog_box_param (glob_hinst, (LPCTSTR)IDD_WINPT_CARD_EDIT,                  dialog_box_param (glob_hinst, (LPCTSTR)IDD_WINPT_CARD_EDIT,
390                                    GetDesktopWindow(), card_edit_dlg_proc,                                    GetDesktopWindow(), card_edit_dlg_proc,

Legend:
Removed from v.25  
changed lines
  Added in v.26

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26