forked from github/server
always use a macro, not magical constants
This commit is contained in:
parent
c9e7a76d9b
commit
47e925473e
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ void ct_checknames(void) {
|
||||||
int i, qi;
|
int i, qi;
|
||||||
quicklist *ctl;
|
quicklist *ctl;
|
||||||
|
|
||||||
for (i = 0; i < 256; ++i) {
|
for (i = 0; i < MAXCTHASH; ++i) {
|
||||||
ctl = cursetypes[i];
|
ctl = cursetypes[i];
|
||||||
for (qi = 0; ctl; ql_advance(&ctl, &qi, 1)) {
|
for (qi = 0; ctl; ql_advance(&ctl, &qi, 1)) {
|
||||||
curse_type *type = (curse_type *)ql_get(ctl, qi);
|
curse_type *type = (curse_type *)ql_get(ctl, qi);
|
||||||
|
|
Loading…
Reference in a new issue