From 472a6d427d2824b4a508afa125f58c108f404b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Mon, 15 Jun 2015 00:56:59 +0200 Subject: [PATCH] Minor change --- juci/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juci/config.cc b/juci/config.cc index 9395817..b4619dd 100644 --- a/juci/config.cc +++ b/juci/config.cc @@ -28,7 +28,7 @@ void MainConfig::GenerateSource() { source_cfg.show_line_numbers = i.second.get_value() == "1" ? true : false; std::cout << source_cfg.show_line_numbers << std::endl; } - if (i.first.compare("highlight_current_line")) { + if (i.first == "highlight_current_line") { source_cfg.highlight_current_line = i.second.get_value() == "1" ? true : false; std::cout << source_cfg.highlight_current_line << std::endl; }