From 97ef13a1b18e91e43564f11a92491d11572f45fd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 18 Nov 2013 23:42:52 -0500 Subject: [PATCH] Bug - Fixed Config.cpp so that it doesn't JSON encode a default rc file, and in so doing, bork the format. --- src/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.cpp b/src/Config.cpp index 4e240dbc7..d2461fe7a 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -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); }