aboutsummaryrefslogtreecommitdiff
path: root/listbas.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-13 03:04:47 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-13 03:04:47 -0400
commitc01ad38905e617055d3dc49115989b7133c01b88 (patch)
tree58d9c5d029fe495d48747c7c59908d52ee1e7127 /listbas.c
parent01644ac2e4f1d359240c32cc4c4493adafedc24f (diff)
downloadbw-atari8-tools-c01ad38905e617055d3dc49115989b7133c01b88.tar.gz
listbas: commentary.
Diffstat (limited to 'listbas.c')
-rw-r--r--listbas.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/listbas.c b/listbas.c
index 8561e3b..b0e2253 100644
--- a/listbas.c
+++ b/listbas.c
@@ -41,7 +41,6 @@
#define ENV_MAX_ARGS 64
/* #define DEBUG_ENV */
-
/* output modes */
#define M_UTF8 0 /* default */
#define M_UTF8_I 1 /* -x */
@@ -164,6 +163,8 @@ void parse_env_args(void) {
if(*p == ' ' || *p == '\t') {
*p = '\0';
if(fargc == ENV_MAX_ARGS) {
+ /* not gonna bother with the man page for this, it's
+ long enough already. it's a pathological case. */
fprintf(stderr, "%s: Too many spaces in " ENV_OPTS " (max %d)\n", self, ENV_MAX_ARGS - 1);
break;
}