diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
commit | c0d3818fa0a3859d5f6cd923488ac3244d3c00d6 (patch) | |
tree | e4241de99a10fd68a138263f0a2b29ba52c7a42b /src/variable.cc | |
parent | ae90af873f4cd3450d5e04a65e84040b4ddad1bd (diff) |
Use ANGBAND_TERM_MAX instead of literal 8
(This won't cover nearly all cases, but it helps a little.)
Diffstat (limited to 'src/variable.cc')
-rw-r--r-- | src/variable.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/variable.cc b/src/variable.cc index 7aae4187..1bcab738 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -258,8 +258,8 @@ char *macro__buf; /* * The array of window options */ -u32b window_flag[8]; -u32b window_mask[8]; +u32b window_flag[ANGBAND_TERM_MAX]; +u32b window_mask[ANGBAND_TERM_MAX]; /* |