Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
LINT fixes since recent tooling update
  • Loading branch information
nerzhul committed Mar 14, 2019
1 parent a6a04c4 commit 02a2389
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/gui/modalMenu.cpp
Expand Up @@ -260,7 +260,7 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event)
return retval;
}
}
// clang-format on
// clang-format on
#endif
return false;
}
Expand Down
9 changes: 6 additions & 3 deletions src/gui/touchscreengui.h
Expand Up @@ -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,
Expand Down Expand Up @@ -61,15 +62,17 @@ typedef enum {
joystick_center_id
} touch_gui_button_id;

typedef enum {
typedef enum
{
j_forward = 0,
j_backward,
j_left,
j_right,
j_special1
} touch_gui_joystick_move_id;

typedef enum {
typedef enum
{
AHBB_Dir_Top_Bottom,
AHBB_Dir_Bottom_Top,
AHBB_Dir_Left_Right,
Expand Down
4 changes: 2 additions & 2 deletions src/irrlicht_changes/irrUString.h
Expand Up @@ -2916,13 +2916,13 @@ class ustring16
ret[0] = unicode::BOM;
else if (endian == unicode::EUTFEE_LITTLE)
{
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(ret.c_str());
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(&ret[0]);
*ptr8++ = unicode::BOM_ENCODE_UTF16_LE[0];
*ptr8 = unicode::BOM_ENCODE_UTF16_LE[1];
}
else
{
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(ret.c_str());
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(&ret[0]);
*ptr8++ = unicode::BOM_ENCODE_UTF16_BE[0];
*ptr8 = unicode::BOM_ENCODE_UTF16_BE[1];
}
Expand Down
3 changes: 2 additions & 1 deletion src/network/peerhandler.h
Expand Up @@ -24,7 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
namespace con
{

typedef enum {
typedef enum
{
MIN_RTT,
MAX_RTT,
AVG_RTT,
Expand Down

0 comments on commit 02a2389

Please sign in to comment.