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

Diff of /trunk/Src/wptPreferencesDlg.cpp

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

revision 180 by twoaday, Mon Mar 6 14:41:58 2006 UTC revision 181 by twoaday, Tue Mar 14 11:01:22 2006 UTC
# Line 250  prefs_dlg_proc (HWND dlg, UINT msg, WPAR Line 250  prefs_dlg_proc (HWND dlg, UINT msg, WPAR
250    
251          case IDOK:          case IDOK:
252              rc = GetDlgItemInt (dlg, IDC_PREFS_CACHETIME, NULL, FALSE);              rc = GetDlgItemInt (dlg, IDC_PREFS_CACHETIME, NULL, FALSE);
253              if (rc <= 0)              if (rc <= 0) {
254                  reg_prefs.cache_time = 0;                  reg_prefs.cache_time = 0;
255                    agent_flush_cache ();
256                }
257              else if (rc > 720) {              else if (rc > 720) {
258                  msg_box( dlg, _("Please enter a value that is between 1-720.\nIt is not "                  msg_box( dlg, _("Please enter a value that is between 1-720.\nIt is not "
259                                  "a good idea to cache the passphrase more than 12 hours."),                                  "a good idea to cache the passphrase more than 12 hours."),

Legend:
Removed from v.180  
changed lines
  Added in v.181

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26