From 81c8c81fb47b293ca90d295e44f74631a16ad806 Mon Sep 17 00:00:00 2001 From: IndrekV Date: Mon, 22 Jan 2018 20:04:35 +0200 Subject: [PATCH] fmt --- src/context.cc | 4 ++-- src/user.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/context.cc b/src/context.cc index 3f2e2f3a5f..6c34d8d0b5 100644 --- a/src/context.cc +++ b/src/context.cc @@ -686,8 +686,8 @@ void Context::updateUI(const UIElements &what) { if (user_->CollapseEntries()) { std::stringstream ss; ss << date_header << te->Description() - << te->PID() << te->TID() - << te->Billable() << te->Tags(); + << te->PID() << te->TID() + << te->Billable() << te->Tags(); std::string group_name = ss.str(); group_header_id[group_name] = i; diff --git a/src/user.cc b/src/user.cc index fd8949eb9c..b092f82060 100644 --- a/src/user.cc +++ b/src/user.cc @@ -916,7 +916,7 @@ void User::loadUserTimeEntryFromJSON( bool User::LoadUserPreferencesFromJSON( Json::Value data) { if (data.isMember("CollapseTimeEntries") - && data["CollapseTimeEntries"].asBool() != CollapseEntries()) { + && data["CollapseTimeEntries"].asBool() != CollapseEntries()) { SetCollapseEntries(data["CollapseTimeEntries"].asBool()); return true; }