Skip to content

Commit

Permalink
com32/include/menu.h: Extend my_isspace
Browse files Browse the repository at this point in the history
Add 0x7f as a space character

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
geneC committed Jul 18, 2015
1 parent 98c412d commit 1217fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com32/include/menu.h
Expand Up @@ -195,7 +195,7 @@ void local_cursor_enable(bool);

static inline int my_isspace(char c)
{
return (unsigned char)c <= ' ';
return (unsigned char)c <= ' ' || (unsigned char)c == '\x7f';
}

int my_isxdigit(char c);
Expand Down

0 comments on commit 1217fc7

Please sign in to comment.