summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2019-03-14 11:49:46 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2019-03-14 12:30:13 +0100
commit02a23892f94d3c83a6bdc301defc0e7ade7e1c2b (patch)
tree3e93220c7b2439b900d0acba21cfb555266a1f54 /src/gui
parenta6a04c4b5b0cd475ea265b63ff6ff52daf66db42 (diff)
downloadminetest-02a23892f94d3c83a6bdc301defc0e7ade7e1c2b.tar.gz
minetest-02a23892f94d3c83a6bdc301defc0e7ade7e1c2b.tar.bz2
minetest-02a23892f94d3c83a6bdc301defc0e7ade7e1c2b.zip
LINT fixes since recent tooling update
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/modalMenu.cpp2
-rw-r--r--src/gui/touchscreengui.h9
2 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp
index 4ffe88800..30417943d 100644
--- a/src/gui/modalMenu.cpp
+++ b/src/gui/modalMenu.cpp
@@ -260,7 +260,7 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event)
return retval;
}
}
- // clang-format on
+ // clang-format on
#endif
return false;
}
diff --git a/src/gui/touchscreengui.h b/src/gui/touchscreengui.h
index 421f70963..1f9adda22 100644
--- a/src/gui/touchscreengui.h
+++ b/src/gui/touchscreengui.h
@@ -33,7 +33,8 @@ using namespace irr;
using namespace irr::core;
using namespace irr::gui;
-typedef enum {
+typedef enum
+{
jump_id = 0,
crunch_id,
zoom_id,
@@ -61,7 +62,8 @@ typedef enum {
joystick_center_id
} touch_gui_button_id;
-typedef enum {
+typedef enum
+{
j_forward = 0,
j_backward,
j_left,
@@ -69,7 +71,8 @@ typedef enum {
j_special1
} touch_gui_joystick_move_id;
-typedef enum {
+typedef enum
+{
AHBB_Dir_Top_Bottom,
AHBB_Dir_Bottom_Top,
AHBB_Dir_Left_Right,