mirror of
https://github.com/labwc/labwc.git
synced 2025-11-11 13:30:04 -05:00
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:
parent
a802d6b20a
commit
4afbfac528
4 changed files with 16 additions and 16 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue