]> granicus.if.org Git - nethack/commitdiff
fix parse character count typo
authornhmall <nhmall@nethack.org>
Mon, 28 Oct 2019 03:37:16 +0000 (23:37 -0400)
committernhmall <nhmall@nethack.org>
Mon, 28 Oct 2019 03:37:16 +0000 (23:37 -0400)
src/files.c

index 8f44de414b2cc4e14b19b3f6e753d438dec33b79..41382c1ce629323eb3d587c1c7039bc14a2d4efc 100644 (file)
@@ -2541,7 +2541,7 @@ char *origbuf;
             free((genericptr_t) sysopt.greppath);
         sysopt.greppath = dupstr(bufp);
     } else if (src == SET_IN_SYS
-               && match_varname(buf, "ACCESSIBILITY", 19)) {
+               && match_varname(buf, "ACCESSIBILITY", 13)) {
         n = atoi(bufp);
         if (n < 0 || n > 1) {
             config_error_add("Illegal value in ACCESSIBILITY (not 0,1).");