summaryrefslogtreecommitdiff
path: root/src/main-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-win.c')
-rw-r--r--src/main-win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main-win.c b/src/main-win.c
index d9e2ff43..776c3e15 100644
--- a/src/main-win.c
+++ b/src/main-win.c
@@ -2223,7 +2223,7 @@ static void init_windows(void)
/* Main window */
td = &data[0];
- WIPE(td, term_data);
+ memset(td, 0, sizeof(term_data));
td->s = angband_term_name[0];
td->keys = 1024;
td->rows = 24;
@@ -2240,7 +2240,7 @@ static void init_windows(void)
for (i = 1; i < MAX_TERM_DATA; i++)
{
td = &data[i];
- WIPE(td, term_data);
+ memset(td, 0, sizeof(term_data));
td->s = angband_term_name[i];
td->keys = 16;
td->rows = 24;