/[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 181 by twoaday, Tue Mar 14 11:01:22 2006 UTC revision 218 by twoaday, Wed May 24 07:53:24 2006 UTC
# Line 455  get_reg_entry_mo (void) Line 455  get_reg_entry_mo (void)
455          return p;          return p;
456    
457      lang = get_gettext_langid ();      lang = get_gettext_langid ();
458      if (!lang)          if (!lang)
459          return NULL;              return NULL;
460      pp = new char[strlen ("share\\xxxxx\\locale\\LC_MESSAGES")+8];      pp = new char[strlen ("share\\xxxxx\\locale\\LC_MESSAGES")+8];
461      if (!pp)          if (!pp)    
462          BUG (NULL);          BUG (NULL);
# Line 472  static const char *cfg [] = { Line 472  static const char *cfg [] = {
472      NULL,            NULL,      
473      "CacheTime",      "CacheTime",
474      "WordWrap",      "WordWrap",
475      "FastMode",      "DefaultExt",
476      "Viewer",      "Viewer",
477      "WipeMode",      "WipeMode",
478      "AlwaysTrust",      "AlwaysTrust",
# Line 532  set_reg_winpt_prefs (winpt_reg_prefs_s * Line 532  set_reg_winpt_prefs (winpt_reg_prefs_s *
532          case CFG_WIPEMODE:          case CFG_WIPEMODE:
533              sprintf (buf, "%d", opt->wipe_mode);              sprintf (buf, "%d", opt->wipe_mode);
534              break;              break;
535          case CFG_FASTMODE:          case CFG_FILEEXT:
536              sprintf (buf, "%d", opt->use_tmpfiles);              sprintf (buf, "%d", opt->default_ext);
537              break;              break;
538          case CFG_NOZIP_MMEDIA:          case CFG_NOZIP_MMEDIA:
539              sprintf (buf, "%d", opt->no_zip_mmedia);              sprintf (buf, "%d", opt->no_zip_mmedia);
# Line 638  get_reg_winpt_prefs (winpt_reg_prefs_s * Line 638  get_reg_winpt_prefs (winpt_reg_prefs_s *
638          case CFG_WORDWRAP:          case CFG_WORDWRAP:
639              opt->word_wrap = atol (val);              opt->word_wrap = atol (val);
640              break;              break;
641          case CFG_FASTMODE:          case CFG_FILEEXT:
642              opt->use_tmpfiles = atol (val);              opt->default_ext = atol (val);
643              break;              break;
644          case CFG_NOZIP_MMEDIA:          case CFG_NOZIP_MMEDIA:
645              opt->no_zip_mmedia = atol (val);              opt->no_zip_mmedia = atol (val);

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26