From c015780c3843f86f744e5e86503583e1d2e777a0 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Fri, 13 Sep 2013 18:10:14 +0100 Subject: [PATCH] Fixed typo causing graphs to never be generated. --- src/gui/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 1c0721c9..8ada920f 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -617,7 +617,7 @@ void Launcher::OnSortPlugins(wxCommandEvent& event) { //First delete any existing graph file. fs::remove(_game.GraphPath()); - if (_settings["generate Graph Image"] && _settings["Generate Graph Image"].as() && fs::exists(g_path_graphvis)) { + if (_settings["Generate Graph Image"] && _settings["Generate Graph Image"].as() && fs::exists(g_path_graphvis)) { BOOST_LOG_TRIVIAL(trace) << "Outputting the graph."; fs::path temp = fs::path(_game.GraphPath().string() + ".temp"); boss::SaveGraph(graph, temp);