diff --git a/src/help.cpp b/src/help.cpp index 4a7f0784..2b31b1e4 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -139,9 +139,9 @@ std::string Help::DisplayKeys(const ActionType at) return result; } -void Help::Section(const char *type, const char *title_) +void Help::Section(const char *type_, const char *title_) { - w << L"\n " << NC::fmtBold << ToWString(type) << L" - "; + w << L"\n " << NC::fmtBold << ToWString(type_) << L" - "; w << ToWString(title_) << NC::fmtBoldEnd << L"\n\n"; } diff --git a/src/help.h b/src/help.h index 8383de7c..b9aca29a 100644 --- a/src/help.h +++ b/src/help.h @@ -48,7 +48,7 @@ protected: private: void KeysSection(const char *title_) { Section("Keys", title_); } void MouseSection(const char *title_) { Section("Mouse", title_); } - void Section(const char *type, const char *title_); + void Section(const char *type_, const char *title_); void KeyDesc(const ActionType at, const char *desc); void MouseDesc(std::string action, const char *desc, bool indent = false); void MouseColumn(const char *column);