mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix iswgraph unicode support.
This commit is contained in:
parent
bae08f13ef
commit
91087d9199
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
|
||||||
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012.
|
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2015.
|
||||||
|
|
||||||
This file is part of the Sortix C Library.
|
This file is part of the Sortix C Library.
|
||||||
|
|
||||||
|
@ -26,5 +26,5 @@
|
||||||
|
|
||||||
extern "C" int iswgraph(wint_t c)
|
extern "C" int iswgraph(wint_t c)
|
||||||
{
|
{
|
||||||
return L'!' <= c && c <= L'~';
|
return L'!' <= c && c != 127;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue