clang-format: update with latest
Pick up the latest .clang-format from the docs repository.
Change-Id: I205c7f9abd502a02a480b489446f3db37f303e05
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/main.hpp b/main.hpp
index 91c07da..7debec3 100644
--- a/main.hpp
+++ b/main.hpp
@@ -24,10 +24,8 @@
struct Rect
{
int x, y, w, h; // X, Y, Width, Height
- Rect(int _x, int _y, int _w, int _h) : x(_x), y(_y), w(_w), h(_h)
- {}
- Rect() : x(0), y(0), w(1), h(1)
- {}
+ Rect(int _x, int _y, int _w, int _h) : x(_x), y(_y), w(_w), h(_h) {}
+ Rect() : x(0), y(0), w(1), h(1) {}
};
int DrawTextWithWidthLimit(WINDOW* win, std::string txt, int y, int x,