Permalink
Browse files

isblank(): checks for a blank character; that is, a space or a tab.

git-svn-id: https://svn.parrot.org/parrot/trunk@7786 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 906843d commit 50cacc1321f3ba184321a27915523c35c73b3176 Jens Rieks committed Apr 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/string_primitives.c
@@ -460,7 +460,7 @@ Parrot_char_is_blank(Interp *interpreter, UINTVAL character)
#if PARROT_HAS_ICU
return u_isblank(character);
#else
- return character == 0x20;
+ return (character == 0x20) || (character == 0x09);
#endif
}

0 comments on commit 50cacc1

Please sign in to comment.