summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 09:12:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 09:12:27 +0000
commitf9c63857f83cbd427b0b0e57f28c20b1322f78ae (patch)
tree26789ad88816aa387f774836b31222d0b40da4e4 /string.c
parent41c6972dd515d42a321ce0dbd329b1aec5fe5185 (diff)
BeOS patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 1fb6e4da4d..f0c05de19b 100644
--- a/string.c
+++ b/string.c
@@ -1512,7 +1512,7 @@ str_dump(str)
*q++ = '\\';
*q++ = c;
}
- else if (isascii(c) && isprint(c)) {
+ else if (ISPRINT(c)) {
*q++ = c;
}
else if (c == '\n') {