Mercurial > hg > batmud > maputils
changeset 1829:68d9ad08c15c
Oops, 10L: forgot to s/MAX_FILES/SET_MAX_FILES/ everywhere.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 30 Oct 2017 16:53:59 +0200 |
parents | 4789d26f274f |
children | daae37418235 |
files | combine.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/combine.c Mon Oct 30 16:52:57 2017 +0200 +++ b/combine.c Mon Oct 30 16:53:59 2017 +0200 @@ -22,7 +22,7 @@ /* Variables */ int nsrcFiles = 0; -mapfile_t srcFiles[MAX_FILES]; +mapfile_t srcFiles[SET_MAX_FILES]; char *destFile = NULL; int optFillChar = -1; BOOL optInputIsDiff = FALSE; @@ -132,7 +132,7 @@ BOOL argHandleFile(char *currArg) { - if (nsrcFiles < MAX_FILES) + if (nsrcFiles < SET_MAX_FILES) { char *q, *c, *tmpArg = th_strdup(currArg); @@ -200,7 +200,7 @@ } else { - THERR("Too many input files specified (%d max)!\n", MAX_FILES); + THERR("Too many input files specified (%d max)!\n", SET_MAX_FILES); return FALSE; }