summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-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;