summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-13 14:33:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-13 14:33:38 +0300
commit9b578956b8cdcba74b731a78ffdf7e26b335a03d (patch)
tree7e5aec37dc4f7d6f17cece9f23c364bf961139d0 /src/gui
parentaeec9ca9881bbd4fdc332b342b09a795ee3961b4 (diff)
downloadmanaverse-9b578956b8cdcba74b731a78ffdf7e26b335a03d.tar.gz
manaverse-9b578956b8cdcba74b731a78ffdf7e26b335a03d.tar.bz2
manaverse-9b578956b8cdcba74b731a78ffdf7e26b335a03d.tar.xz
manaverse-9b578956b8cdcba74b731a78ffdf7e26b335a03d.zip
Dehardcode keys in help and in tips.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/browserbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 6527019de..50072c5d2 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -171,7 +171,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
break;
const std::string str = inputManager.getKeyValueByName(
- "key" + tmp.substr(idx1 + 3, idx2 - idx1 - 3));
+ tmp.substr(idx1 + 3, idx2 - idx1 - 3));
tmp.replace(idx1, idx2 - idx1 + 1, str);
idx1 = tmp.find("###");