move null_key into NcmpcppKeys

This commit is contained in:
Andrzej Rybczak
2010-04-18 16:42:59 +02:00
parent f617ccfc4d
commit 7dafec5718
4 changed files with 72 additions and 66 deletions

View File

@@ -76,7 +76,7 @@ std::string Help::DisplayKeys(int *key, int size)
std::string result = "\t";
for (int i = 0; i < size; i++)
{
if (key[i] == null_key);
if (key[i] == NcmpcppKeys::NullKey);
else if (key[i] == 259)
result += "Up";
else if (key[i] == 258)