Commit 4ba325ff authored by Peter Eriksson's avatar Peter Eriksson
Browse files

Back to isprint() again. Sigh.

parent 2c25c9c4
......@@ -107,15 +107,11 @@ legal_name( String name )
while( name.len-- )
{
#ifdef USE_ASCII
if ( !isascii(*name.string) && !isprint( *name.string ) )
if ( /* !isascii(*name.string) && */
!isprint( *name.string ) )
{
return FALSE;
}
#else /* Allow ISO 8859-1 */
if (*name.string < ' ' || *name.string == 127)
return FALSE;
#endif
name.string++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment