From 527c2347ea99d764af36395bc5228aa1ad30b653 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 28 Dec 2019 06:47:56 +0100 Subject: [PATCH] Fix bug where titles_as_cw would get the value of titles_only. --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index 72383c1..f617a89 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -260,7 +260,7 @@ void Config::write() _json[_profile]["max_size"] = data.max_size; // Leave skip. _json[_profile]["titles_as_cw"] = data.titles_as_cw; - _json[_profile]["titles_as_cw"] = data.titles_only; + _json[_profile]["titles_only"] = data.titles_only; ofstream file{get_filename().c_str()}; if (file.good())