Update .clang-format

Align with wlroots style
This commit is contained in:
Johan Malm 2020-09-28 20:41:41 +01:00
parent 96b5ab1fc1
commit 96e05057a3
32 changed files with 669 additions and 515 deletions

View file

@ -3,8 +3,8 @@
#include "common/font.h"
static PangoRectangle font_extents(const char *font_description,
const char *string)
static PangoRectangle
font_extents(const char *font_description, const char *string)
{
PangoRectangle rect;
cairo_surface_t *surface;
@ -35,7 +35,8 @@ static PangoRectangle font_extents(const char *font_description,
return rect;
}
int font_height(const char *font_description)
int
font_height(const char *font_description)
{
PangoRectangle rectangle;
rectangle = font_extents(font_description, "abcdefg");