initializers

This commit is contained in:
nhmall
2022-06-25 15:16:57 -04:00
parent 174cac42a6
commit 4c3fb47900
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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 };