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

Diff of /trunk/Src/wptGPGOptDlg.cpp

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

revision 225 by twoaday, Tue Jun 6 13:37:59 2006 UTC revision 255 by twoaday, Tue Aug 1 16:37:23 2006 UTC
# Line 54  gpgopt_dlg_proc (HWND dlg, UINT msg, WPA Line 54  gpgopt_dlg_proc (HWND dlg, UINT msg, WPA
54          SetWindowText (dlg, _("GnuPG Configuration File" ));          SetWindowText (dlg, _("GnuPG Configuration File" ));
55          SetDlgItemText (dlg, IDC_GPGOPT_SAVE, _("&Save"));          SetDlgItemText (dlg, IDC_GPGOPT_SAVE, _("&Save"));
56          SetDlgItemText (dlg, IDC_GPGOPT_LOAD, _("&Load"));          SetDlgItemText (dlg, IDC_GPGOPT_LOAD, _("&Load"));
57            SetDlgItemText (dlg, IDCANCEL, _("&Exit"));
58          free_if_alloc (optbuf);          free_if_alloc (optbuf);
59          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
60          return TRUE;          return TRUE;
# Line 71  gpgopt_dlg_proc (HWND dlg, UINT msg, WPA Line 72  gpgopt_dlg_proc (HWND dlg, UINT msg, WPA
72                  return FALSE;                            return FALSE;          
73              }              }
74              optbuf[nbytes] = '\0';              optbuf[nbytes] = '\0';
75              if( check_gnupg_options( optbuf ) ) {              if( check_gnupg_options( optbuf, 1 ) ) {
76                  msg_box( dlg, _("File contains invalid GnuPG keywords!"), _("GPG Config"), MB_ERR );                  msg_box( dlg, _("File contains invalid GnuPG keywords!"), _("GPG Config"), MB_ERR );
77                  free_if_alloc( optbuf );                  free_if_alloc( optbuf );
78                  return FALSE;                  return FALSE;

Legend:
Removed from v.225  
changed lines
  Added in v.255

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26