Skip to content

Commit 3a63a43

Browse files
committed
Fixed formatting
1 parent 24160b8 commit 3a63a43

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

extras/videoDrivers/SDL2/VideoSDL2.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
# include <gl4esinit.h>
3131
#endif
3232

33-
#define CHECK_SDL(call) \
34-
([&]() -> bool { \
35-
if((call) < 0) \
36-
return true; \
37-
\
38-
PrintError(SDL_GetError()); \
39-
return false; \
33+
#define CHECK_SDL(call) \
34+
([&]() -> bool { \
35+
if((call) < 0) \
36+
return true; \
37+
\
38+
PrintError(SDL_GetError()); \
39+
return false; \
4040
})()
4141

4242
namespace {
@@ -248,7 +248,7 @@ bool VideoSDL2::ResizeScreen(const VideoMode& newSize, bool fullscreen)
248248
return true;
249249
}
250250

251-
#ifdef __ANDROID__
251+
#ifdef __ANDROID__
252252
void VideoSDL2::PrintError(const std::string&) const
253253
{ // Not really sure why the nowide::cerr function completely crashes on android
254254
}

libs/driver/include/driver/MouseCoords.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ struct MouseCoords
1414
MouseCoords(int x, int y) : pos(x, y) {}
1515

1616
Position pos = Position(0, 0);
17-
bool ldown = false; /// left button down
18-
bool rdown = false; /// right button down
19-
bool dbl_click = false; /// double-click (left button)
20-
unsigned num_tfingers = 0; /// Count of fingers currently on touchscreen
17+
bool ldown = false; /// left button down
18+
bool rdown = false; /// right button down
19+
bool dbl_click = false; /// double-click (left button)
20+
unsigned num_tfingers = 0; /// Count of fingers currently on touchscreen
2121
};
2222

2323
/// Maximum interval between two clicks to be considered a double-click (in milliseconds)

libs/s25main/WindowManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include <algorithm>
3030
#include <type_traits>
3131

32-
3332
namespace {
3433
template<typename T, std::enable_if_t<std::is_integral_v<T>, int> = 0>
3534
constexpr std::make_unsigned_t<T> square(T x)

0 commit comments

Comments
 (0)