aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-07-18 12:10:48 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-07-18 12:10:48 -0400
commitf3f6971432d07849ec97641b113d4a146c464e78 (patch)
tree6cb2fc6d672ed8fca7e615e16070b16be700d80a /com32/elflink
parent1217fc781a213cf8628a5e72618a496dd71436e1 (diff)
downloadsyslinux-f3f6971432d07849ec97641b113d4a146c464e78.tar.gz
syslinux-f3f6971432d07849ec97641b113d4a146c464e78.tar.xz
syslinux-f3f6971432d07849ec97641b113d4a146c464e78.zip
com32 readconfig: use my_isspace()
More consistent. Also ensures it's properly recast. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'com32/elflink')
-rw-r--r--com32/elflink/ldlinux/readconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index 381b43ff..3d6aa27e 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -330,7 +330,7 @@ static char *copy_sysappend_string(char *dst, const char *src)
char c;
while ((c = *src++)) {
- if (c <= ' ' || c == '\x7f') {
+ if (my_isspace(c)) {
if (!was_space)
*dst++ = '_';
was_space = true;