/[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 2 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 5 by twoaday, Mon Mar 7 13:21:36 2005 UTC
# Line 387  static const char * cfg [] = { Line 387  static const char * cfg [] = {
387          "DisableHotkeys",                "DisableHotkeys",      
388          "NoCompressMultiMedia",          "NoCompressMultiMedia",
389          "Expert",          "Expert",
390            "FMProgressBar",
391      };      };
392    
393    
# Line 462  set_reg_winpt_prefs (winpt_reg_prefs_s * Line 463  set_reg_winpt_prefs (winpt_reg_prefs_s *
463          case CFG_EXPERT:          case CFG_EXPERT:
464              sprintf (buf, "%d", opt->expert);              sprintf (buf, "%d", opt->expert);
465              break;              break;
466    
467            case CFG_FM_PROGRESS:
468                sprintf (buf, "%d", opt->fm.progress);
469                break;
470          }          }
471          rc = set_reg_entry (HKEY_CURRENT_USER, WINPT_REG, cfg[i], buf);          rc = set_reg_entry (HKEY_CURRENT_USER, WINPT_REG, cfg[i], buf);
472          if (rc)          if (rc)
# Line 577  get_reg_winpt_prefs (winpt_reg_prefs_s * Line 582  get_reg_winpt_prefs (winpt_reg_prefs_s *
582          case CFG_EXPERT:          case CFG_EXPERT:
583              opt->expert = atol (val);              opt->expert = atol (val);
584              break;              break;
585    
586            case CFG_FM_PROGRESS:
587                opt->fm.progress = atol (val);
588                break;
589          }          }
590          free_if_alloc (val);          free_if_alloc (val);
591      }          }    

Legend:
Removed from v.2  
changed lines
  Added in v.5

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26