Permalink
Browse files

#9 TI-1: Reformat function definitions

  • Loading branch information...
lauft committed Jul 18, 2018
1 parent 881d959 commit b32945a9253ef173a41059cb325b0d9bde2fbc63
Showing with 11 additions and 2 deletions.
  1. +11 −2 src/commands/CmdConfig.cpp
@@ -36,7 +36,12 @@
// Note that because this function does not recurse with includes, it therefore
// only sees the top-level settings. This has the desirable effect of adding as
// an override any setting which resides in an imported file.
static bool setConfigVariable (Database& database, const Rules& rules, std::string name, std::string value, bool confirmation /* = false */)
static bool setConfigVariable (
Database& database,
const Rules& rules,
std::string name,
std::string value,
bool confirmation /* = false */)
{
// Read config file as lines of text.
std::vector <std::string> lines;
@@ -176,7 +181,11 @@ static bool setConfigVariable (Database& database, const Rules& rules, std::stri
// 0 - found and removed
// 1 - found and not removed
// 2 - not found
static int unsetConfigVariable (Database& database, const Rules& rules, std::string name, bool confirmation /* = false */)
static int unsetConfigVariable (
Database& database,
const Rules& rules,
std::string name,
bool confirmation /* = false */)
{
// Setting not found.
if (! rules.has (name))

0 comments on commit b32945a

Please sign in to comment.