diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-26 22:26:15 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-26 22:26:15 +0000 |
| commit | f1e4dd10de06bfed2009d1f299327794f76058a0 (patch) | |
| tree | 376949edd1867291d4e71b8b8b9f4bcbea901c33 /usr.bin/vis | |
| parent | 5ccbfb26fb95c4e0584cab6a13677d062cf9beaf (diff) | |
Notes
Diffstat (limited to 'usr.bin/vis')
| -rw-r--r-- | usr.bin/vis/vis.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/vis/vis.c b/usr.bin/vis/vis.c index 1706801e334d..494ae5719bcc 100644 --- a/usr.bin/vis/vis.c +++ b/usr.bin/vis/vis.c @@ -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': |
