aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-04-26 16:01:32 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-04-26 16:01:32 -0700
commit3352e27d06377ee06b9baf8e358b2678578430a0 (patch)
tree7eb7ea6e19fb10412f148aa69d378af8ba896e81 /com32/menu
parent3560c7519efefc126a5a5e24de079ed91b5745c2 (diff)
downloadsyslinux-3352e27d06377ee06b9baf8e358b2678578430a0.tar.gz
syslinux-3352e27d06377ee06b9baf8e358b2678578430a0.tar.xz
syslinux-3352e27d06377ee06b9baf8e358b2678578430a0.zip
menu: need to advance the pointer, once again...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/menu')
-rw-r--r--com32/menu/readconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
index 3693dfb1..2d04b9fa 100644
--- a/com32/menu/readconfig.c
+++ b/com32/menu/readconfig.c
@@ -298,7 +298,7 @@ static char *copy_sysappend_string(char *dst, const char *src)
char *end = dst;
char c;
- while ((c = *src)) {
+ while ((c = *src++)) {
if (c <= ' ' && c == '\x7f') {
if (!was_space)
*dst++ = '_';