Fix minor coding-style violations

...based on https://github.com/johanmalm/checkpatch.pl
This commit is contained in:
Johan Malm 2022-09-17 12:31:07 +01:00 committed by Johan Malm
parent 439cf4f848
commit d424514e24
14 changed files with 29 additions and 28 deletions

View file

@ -328,7 +328,8 @@ osd_update(struct server *server)
PangoWeight weight = pango_font_description_get_weight(desc);
pango_font_description_set_weight(desc, PANGO_WEIGHT_BOLD);
pango_layout_set_font_description(layout, desc);
pango_layout_set_text(layout, server->workspace_current->name, -1);
pango_layout_set_text(layout,
server->workspace_current->name, -1);
pango_cairo_show_layout(cairo, layout);
pango_font_description_set_weight(desc, weight);
pango_layout_set_font_description(layout, desc);