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

Diff of /trunk/Src/wptRegistry.cpp

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

revision 172 by twoaday, Mon Jan 30 13:47:35 2006 UTC revision 176 by twoaday, Mon Feb 13 09:38:03 2006 UTC
# Line 472  get_reg_entry_mo (void) Line 472  get_reg_entry_mo (void)
472    
473    
474  /* All valid configuration commands. */  /* All valid configuration commands. */
475  static const char * cfg [] = {  static const char *cfg [] = {
476          NULL,      NULL,      
477          "CacheTime",      "CacheTime",
478          "WordWrap",      "WordWrap",
479          "FastMode",      "FastMode",
480          "Viewer",      "Viewer",
481          "KeylistMode",      "WipeMode",
482          "WipeMode",      "AlwaysTrust",
483          "AlwaysTrust",      "AutoBackup",
484          "AutoBackup",      "BackupMode",
485          "BackupMode",      "DisableHotkeys",  
486          "DisableHotkeys",            "NoCompressMultiMedia",    
487          "NoCompressMultiMedia",      "Expert",
488          "Expert",      "FMProgressBar",
489          "FMProgressBar",  };
     };  
490    
491    
492  int  int
# Line 546  set_reg_winpt_prefs (winpt_reg_prefs_s * Line 545  set_reg_winpt_prefs (winpt_reg_prefs_s *
545          case CFG_VIEWER:          case CFG_VIEWER:
546              sprintf (buf, "%d", opt->use_viewer);              sprintf (buf, "%d", opt->use_viewer);
547              break;              break;
         case CFG_KEYLISTMODE:  
             sprintf (buf, "%d", opt->keylist_mode);  
             break;  
548          case CFG_ALWAYSTRUST:          case CFG_ALWAYSTRUST:
549              sprintf (buf, "%d", opt->always_trust);              sprintf (buf, "%d", opt->always_trust);
550              break;              break;
# Line 657  get_reg_winpt_prefs (winpt_reg_prefs_s * Line 653  get_reg_winpt_prefs (winpt_reg_prefs_s *
653          case CFG_VIEWER:          case CFG_VIEWER:
654              opt->use_viewer = atol (val);              opt->use_viewer = atol (val);
655              break;              break;
         case CFG_KEYLISTMODE:  
             opt->keylist_mode = atol (val);  
             break;  
656          case CFG_WIPEMODE:          case CFG_WIPEMODE:
657              opt->wipe_mode = atol (val);              opt->wipe_mode = atol (val);
658              break;              break;

Legend:
Removed from v.172  
changed lines
  Added in v.176

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26