aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-10-18 14:36:20 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-10-18 14:36:20 +0200
commit1e4f3549292472323d49ffad4e856ba60dd81e0c (patch)
tree5f71955e7f641f67f0f05f98068e48fa98a1b39c /src
parent7e0f8fba02ab66d88925759ca6165a0feecb8c05 (diff)
downloaddragonfireclient-1e4f3549292472323d49ffad4e856ba60dd81e0c.tar.xz
This is the last try for lint...
Diffstat (limited to 'src')
-rw-r--r--src/gui/cheatMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/cheatMenu.cpp b/src/gui/cheatMenu.cpp
index b0ffb204b..f796fb0ba 100644
--- a/src/gui/cheatMenu.cpp
+++ b/src/gui/cheatMenu.cpp
@@ -49,7 +49,7 @@ void CheatMenu::drawEntry(video::IVideoDriver *driver, std::string name, int num
bool is_category = entry_type == CHEAT_MENU_ENTRY_TYPE_CATEGORY;
y += m_gap + m_head_height +
(number + (is_category ? 0 : m_selected_category)) *
- (m_entry_height + m_gap);
+ (m_entry_height + m_gap);
x += (is_category ? 0 : m_gap + m_entry_width);
if (active)
bgcolor = &m_active_bg_color;