src: put designated initializers in member order

Out-of-order named initializers are allowed in C (unlike in C++) but
are still surprising - I don't see a reason not to put them in order.
This commit is contained in:
John Lindgren 2025-07-04 00:40:15 -04:00 committed by Consolatis
parent a802d6b20a
commit 4afbfac528
4 changed files with 16 additions and 16 deletions

View file

@ -46,9 +46,9 @@ ssd_thickness(struct view *view)
struct border thickness = {
.top = theme->titlebar_height + theme->border_width,
.right = theme->border_width,
.bottom = theme->border_width,
.left = theme->border_width,
.right = theme->border_width,
};
if (view->ssd_titlebar_hidden) {