help: fix shadow warning

master
Andrzej Rybczak 14 years ago
parent 8ac1a38213
commit ddd18681ba
  1. 4
      src/help.cpp
  2. 2
      src/help.h

@ -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";
}

@ -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);

Loading…
Cancel
Save