traceroute: fix help text to not show -6 when traceroute6 is off
[oweals/busybox.git] / editors / diff.c
index e977f4d14cb077cddd6159de9c55dfd3affda00d..745ef0a334be90b25e12a68b0f56b1d783f50ce7 100644 (file)
@@ -749,7 +749,7 @@ static int asciifile(FILE *f)
        rewind(f);
        cnt = fread(g_read_buf, 1, COMMON_BUFSIZE, f);
        for (i = 0; i < cnt; i++) {
-               if (!isprint(g_read_buf[i])
+               if (!isprint_asciionly(g_read_buf[i])
                 && !isspace(g_read_buf[i])
                ) {
                        return 0;