aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/localedef
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-03-20 03:27:06 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-03-20 03:27:06 +0000
commit046c3cda83ffa608af6ff51852d93ace8ec8658d (patch)
tree828d6c97d66bf1a64328a34f5ed2a217a829e71a /usr.bin/localedef
parent1ec923fd6d7d8a6d23723c40932f663123230dfd (diff)
Notes
Diffstat (limited to 'usr.bin/localedef')
-rw-r--r--usr.bin/localedef/ctype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/localedef/ctype.c b/usr.bin/localedef/ctype.c
index d610833fb27c..e737ed5f876b 100644
--- a/usr.bin/localedef/ctype.c
+++ b/usr.bin/localedef/ctype.c
@@ -332,14 +332,14 @@ dump_ctype(void)
ctn->ctype |= _ISLOWER;
if ((wc >= '0') && (wc <= '9'))
ctn->ctype |= _ISDIGIT;
+ if (wc == ' ')
+ ctn->ctype |= _ISPRINT;
if (strchr(" \f\n\r\t\v", (char)wc) != NULL)
ctn->ctype |= _ISSPACE;
if (strchr("0123456789ABCDEFabcdef", (char)wc) != NULL)
ctn->ctype |= _ISXDIGIT;
if (strchr(" \t", (char)wc))
ctn->ctype |= _ISBLANK;
- if (wc == ' ')
- ctn->ctype |= _ISPRINT;
/*
* Technically these settings are only