summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-22 15:22:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-22 15:22:53 +0300
commit2abc581201575cf20f39eda61ccea02c98b9435d (patch)
tree1984328b6f30b4e0ba966be6b4025e72cd646531
parente5310e2a122012f6191216e926b98d1fddc01e39 (diff)
downloadplus-2abc581201575cf20f39eda61ccea02c98b9435d.tar.gz
plus-2abc581201575cf20f39eda61ccea02c98b9435d.tar.bz2
plus-2abc581201575cf20f39eda61ccea02c98b9435d.tar.xz
plus-2abc581201575cf20f39eda61ccea02c98b9435d.zip
Rename debugPath into mapDrawType.
-rw-r--r--src/being/localplayer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 54dd93ff9..e74abeb40 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1255,9 +1255,9 @@ void LocalPlayer::changeMode(unsigned *restrict const var,
debugMsg(str.substr(4));
}
-const unsigned debugPathSize = 7;
+const unsigned mapDrawTypeSize = 7;
-static const char *const debugPathStrings[] =
+static const char *const mapDrawTypeStrings[] =
{
// TRANSLATORS: map view type in status bar
N_("(N) normal map view"),
@@ -1279,8 +1279,8 @@ static const char *const debugPathStrings[] =
std::string LocalPlayer::getMapDrawTypeString()
{
- return gettext(getVarItem(&debugPathStrings[0],
- viewport->getMapDrawType(), debugPathSize));
+ return gettext(getVarItem(&mapDrawTypeStrings[0],
+ viewport->getMapDrawType(), mapDrawTypeSize));
}
const unsigned awayModeSize = 2;