From 2abc581201575cf20f39eda61ccea02c98b9435d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Jul 2014 15:22:53 +0300 Subject: Rename debugPath into mapDrawType. --- src/being/localplayer.cpp | 8 ++++---- 1 file 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; -- cgit v1.2.3-70-g09d2