summaryrefslogtreecommitdiff
path: root/src/resize.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2015-11-20 14:54:07 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2015-12-06 12:53:04 +0100
commite661590dd414e341f743310bb87b11978017bc26 (patch)
treeb84dd3cba98112b9e93fca8f37b546a2bc476e25 /src/resize.c
parent79b342a5af3f57f2c29a42d931c6ba076d622759 (diff)
downloadscreen-e661590dd414e341f743310bb87b11978017bc26.tar.gz
Use c99 style initializers
Diffstat (limited to 'src/resize.c')
-rw-r--r--src/resize.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resize.c b/src/resize.c
index bae2075..04b2a9f 100644
--- a/src/resize.c
+++ b/src/resize.c
@@ -53,12 +53,12 @@ static void SwapAltScreen(Window *);
struct winsize glwz;
static struct mline mline_zero = {
- (uint32_t *)0,
- (uint32_t *)0,
- (uint32_t *)0,
- (uint32_t *)0,
- (uint32_t *)0,
- (uint32_t *)0
+ .image = (uint32_t *)0,
+ .attr = (uint32_t *)0,
+ .font = (uint32_t *)0,
+ .fontx = (uint32_t *)0,
+ .colorbg = (uint32_t *)0,
+ .colorfg = (uint32_t *)0
};
/*