A more precise iswgraph() backup (forgot to commit before)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2163 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+2
-2
@@ -133,8 +133,8 @@ typedef unsigned int wint_t;
|
||||
# include <ctype.h>
|
||||
static inline int
|
||||
iswgraph(wint_t wc)
|
||||
{
|
||||
return wc > 0x7f || isgraph((int) wc);
|
||||
{ // this is not exact as UCS defines many more non-printable
|
||||
return wc > 0xa0 || (wc < 0x80 && isgraph((int) wc));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user