/[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 48 by werner, Mon Oct 31 21:14:11 2005 UTC revision 57 by werner, Wed Nov 2 11:29:44 2005 UTC
# Line 260  WinMain (HINSTANCE hinst, HINSTANCE hpre Line 260  WinMain (HINSTANCE hinst, HINSTANCE hpre
260      #endif      #endif
261    
262      s = PTD_get_version ();      s = PTD_get_version ();
263      if (strcmp (s, MIN_PTD_VER)) {      // FIXME: Using strcmp here is wrong
264          log_box (_("Privacy Tray Dynamic (PTD)"), MB_ERR,  //     if (strcmp (s, MIN_PTD_VER)) {
265                   _("Please update your PTD.dll to the newest version, "  //      log_box (_("Privacy Tray Dynamic (PTD)"), MB_ERR,
266                     "the version (%s) you use is too old."), s);  //               _("Please update your PTD.dll to the newest version, "
267          return 0;  //                 "the version (%s) you use is too old."), s);
268      }  //      return 0;
269    //     }
270    
271      if (gpg_md_selftest ()) {      if (gpg_md_selftest ()) {
272          msg_box (NULL, _("Cryptographic selftest failed."),          msg_box (NULL, _("Cryptographic selftest failed."),

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26