help: fix shadow warning

This commit is contained in:
Andrzej Rybczak
2012-09-16 04:38:07 +02:00
parent 8ac1a38213
commit ddd18681ba
2 changed files with 3 additions and 3 deletions

View File

@@ -139,9 +139,9 @@ std::string Help::DisplayKeys(const ActionType at)
return result; 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"; w << ToWString(title_) << NC::fmtBoldEnd << L"\n\n";
} }

View File

@@ -48,7 +48,7 @@ protected:
private: private:
void KeysSection(const char *title_) { Section("Keys", title_); } void KeysSection(const char *title_) { Section("Keys", title_); }
void MouseSection(const char *title_) { Section("Mouse", 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 KeyDesc(const ActionType at, const char *desc);
void MouseDesc(std::string action, const char *desc, bool indent = false); void MouseDesc(std::string action, const char *desc, bool indent = false);
void MouseColumn(const char *column); void MouseColumn(const char *column);