/[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 57 by werner, Wed Nov 2 11:29:44 2005 UTC revision 58 by werner, Wed Nov 2 13:36:03 2005 UTC
# Line 187  check_crypto_engine (void) Line 187  check_crypto_engine (void)
187          return rc;          return rc;
188      }      }
189      /* We enable smartcard support for GPG: 1.9 or >= 1.4 */      /* We enable smartcard support for GPG: 1.9 or >= 1.4 */
190      if (ma >= 1 && mi >= 4)      if ((ma == 1 && mi >= 4) || ma > 1)
191          scard_support = 1;          scard_support = 1;
192    
193      gpgver[0] = ma;      gpgver[0] = ma;
# Line 254  WinMain (HINSTANCE hinst, HINSTANCE hpre Line 254  WinMain (HINSTANCE hinst, HINSTANCE hpre
254    
255      glob_hinst = hinst;      glob_hinst = hinst;
256    
257      #ifdef _DEBUG  #ifdef _DEBUG
258      gpg_set_debug_mode (1);      gpg_set_debug_mode (1);
259      debug = 1;      debug = 1;
260      #endif  #endif
261    
262      s = PTD_get_version ();      s = PTD_get_version ();
263      // FIXME: Using strcmp here is wrong      // FIXME: Using strcmp here is wrong

Legend:
Removed from v.57  
changed lines
  Added in v.58

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26