- Fixed Config.cpp so that it doesn't JSON encode a default rc file, and in so
  doing, bork the format.
This commit is contained in:
Paul Beckingham 2013-11-18 23:42:52 -05:00
parent f18390ee79
commit 97ef13a1b1

View file

@ -552,7 +552,7 @@ void Config::createDefaultRC (const std::string& rc, const std::string& data)
<< "\n";
// Write out the new file.
if (! File::write (rc, json::encode (contents.str ())))
if (! File::write (rc, contents.str ()))
throw format (STRING_CONFIG_BAD_WRITE, rc);
}