From 4c3fb479002df1bd9274c8f62c8f4b7f7259c44d Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 25 Jun 2022 15:16:57 -0400 Subject: [PATCH] initializers --- src/invent.c | 2 +- win/tty/wintty.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invent.c b/src/invent.c index 7dbfaa647..1fbe5f285 100644 --- a/src/invent.c +++ b/src/invent.c @@ -5343,7 +5343,7 @@ display_binventory(int x, int y, boolean as_if_seen) #if defined(CORE_INVENT) /* enum and structs are defined in wintype.h */ -static perminvent_info zeropi = { 0 }; +static perminvent_info zeropi = { {0L,0,0,0,0,0,0,0}, {0,0,0,0,{0},0} }; static perminvent_info pi_info; static char Empty[1] = { '\0' }; static int done_environment_var = 0; diff --git a/win/tty/wintty.c b/win/tty/wintty.c index fbf9992d0..09c505877 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -255,7 +255,7 @@ void g_pututf8(uint8 *utf8str); #ifdef TTY_PERM_INVENT void tty_perm_invent_toggled(boolean negated); -static struct tty_perminvent_cell zerottycell = { 0, 0, 0, 0, { 0 } }; +static struct tty_perminvent_cell zerottycell = { 0, 0, 0, { 0 }, 0 }; static glyph_info zerogi = { 0 }; #ifdef CORE_INVENT static struct to_core zero_tocore = { 0 };