aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-10-18 14:33:13 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-10-18 14:33:13 +0200
commit7e0f8fba02ab66d88925759ca6165a0feecb8c05 (patch)
treeeb10346e82832e0651998ec4b7e1f365eb1d2bf9 /src
parent151e5782e1f1ed02bb12757c8fe95ca6449b1b89 (diff)
downloaddragonfireclient-7e0f8fba02ab66d88925759ca6165a0feecb8c05.tar.xz
Another Lint commit
Diffstat (limited to 'src')
-rw-r--r--src/gui/cheatMenu.cpp4
-rw-r--r--src/script/lua_api/l_clientobject.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/cheatMenu.cpp b/src/gui/cheatMenu.cpp
index 6589374b1..b0ffb204b 100644
--- a/src/gui/cheatMenu.cpp
+++ b/src/gui/cheatMenu.cpp
@@ -48,8 +48,8 @@ void CheatMenu::drawEntry(video::IVideoDriver *driver, std::string name, int num
} else {
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);
+ (number + (is_category ? 0 : m_selected_category)) *
+ (m_entry_height + m_gap);
x += (is_category ? 0 : m_gap + m_entry_width);
if (active)
bgcolor = &m_active_bg_color;
diff --git a/src/script/lua_api/l_clientobject.cpp b/src/script/lua_api/l_clientobject.cpp
index 2c3b40c55..462de1a09 100644
--- a/src/script/lua_api/l_clientobject.cpp
+++ b/src/script/lua_api/l_clientobject.cpp
@@ -177,7 +177,7 @@ void ClientObjectRef::Register(lua_State *L)
lua_pop(L, 1); // Drop metatable
luaL_openlib(L, 0, methods, 0); // fill methodtable
- lua_pop(L, 1); // Drop methodtable
+ lua_pop(L, 1); // Drop methodtable
}
const char ClientObjectRef::className[] = "ClientObjectRef";