[syslinux:lwip] menu: need to advance the pointer, once again...

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Tue Apr 26 17:42:02 PDT 2011


Commit-ID:  3352e27d06377ee06b9baf8e358b2678578430a0
Gitweb:     http://syslinux.zytor.com/commit/3352e27d06377ee06b9baf8e358b2678578430a0
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 26 Apr 2011 16:01:32 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 26 Apr 2011 16:01:32 -0700

menu: need to advance the pointer, once again...

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 com32/menu/readconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
index 3693dfb..2d04b9f 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++ = '_';



More information about the Syslinux-commits mailing list