-/* $OpenBSD: grid.c,v 1.127 2022/09/28 07:55:29 nicm Exp $ */
+/* $OpenBSD: grid.c,v 1.128 2023/05/08 10:03:39 tb Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
{ { ' ' }, 0, 1, 1 }, 0, GRID_FLAG_CLEARED, 8, 8, 0, 0
};
static const struct grid_cell_entry grid_cleared_entry = {
- GRID_FLAG_CLEARED, { .data = { 0, 8, 8, ' ' } }
+ { .data = { 0, 8, 8, ' ' } }, GRID_FLAG_CLEARED
};
/* Store cell in entry. */
-/* $OpenBSD: tmux.h,v 1.1197 2023/04/25 09:31:50 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1198 2023/05/08 10:03:39 tb Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
/* Grid cell entry. */
struct grid_cell_entry {
- u_char flags;
union {
u_int offset;
struct {
u_char data;
} data;
};
+ u_char flags;
} __packed;
/* Grid line. */