From 36e1f8c8ec59859824210db24cd71cde8890ec35 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Mon, 27 Sep 2021 23:42:03 -0400 Subject: [PATCH] NewsItem: Reorder arguments to follow rendering order --- src/commands/CmdNews.cpp | 8 ++++---- src/commands/CmdNews.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands/CmdNews.cpp b/src/commands/CmdNews.cpp index e82425f20..f302f3742 100644 --- a/src/commands/CmdNews.cpp +++ b/src/commands/CmdNews.cpp @@ -79,19 +79,19 @@ void wait_for_enter () NewsItem::NewsItem ( bool major, const std::string& title, - const std::string& punchline, - const std::string& update, const std::string& bg_title, const std::string& background, + const std::string& punchline, + const std::string& update, const std::string& reasoning, const std::string& actions ) { _major = major; _title = title; - _punchline = punchline; - _update = update; _bg_title = bg_title; _background = background; + _punchline = punchline; + _update = update; _reasoning = reasoning; _actions = actions; } diff --git a/src/commands/CmdNews.h b/src/commands/CmdNews.h index 1ec6d841a..4c7f4fa2c 100644 --- a/src/commands/CmdNews.h +++ b/src/commands/CmdNews.h @@ -35,10 +35,10 @@ class NewsItem { public: bool _major = false; std::string _title; - std::string _punchline; - std::string _update; std::string _bg_title; std::string _background; + std::string _punchline; + std::string _update; std::string _reasoning; std::string _actions; NewsItem (