Add setlocale LC_CTYPE

This commit is contained in:
ache 1995-10-26 22:26:15 +00:00
parent 5e59c0728e
commit 05b58bb50b

View File

@ -43,6 +43,7 @@ static char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93";
#include <stdio.h>
#include <vis.h>
#include <locale.h>
int eflags, fold, foldwidth=80, none, markeol, debug;
@ -55,6 +56,8 @@ main(argc, argv)
FILE *fp;
int ch;
(void) setlocale(LC_CTYPE, "");
while ((ch = getopt(argc, argv, "nwctsobfF:ld")) != EOF)
switch((char)ch) {
case 'n':