[syslinux:master] hdt: Don't skrink cpu name
syslinux-bot for Erwan Velu
erwanaliasr1 at gmail.com
Sun Feb 6 14:07:50 PST 2011
Commit-ID: 52ffd694910222ecde123140dac3b04cabe15f56
Gitweb: http://syslinux.zytor.com/commit/52ffd694910222ecde123140dac3b04cabe15f56
Author: Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Mon, 31 Jan 2011 17:03:02 +0100
Committer: Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Mon, 31 Jan 2011 17:03:02 +0100
hdt: Don't skrink cpu name
---
com32/hdt/hdt-common.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c
index 5953be3..537e104 100644
--- a/com32/hdt/hdt-common.c
+++ b/com32/hdt/hdt-common.c
@@ -661,9 +661,6 @@ char *del_multi_spaces(char *p)
* the content from the second space*/
strlcpy(p, p + 1, strlen(p + 1));
- /* The string is 1 char smaller */
- *(p + strlen(p) - 1) = '\0';
-
/* Don't increment the pointer as we
* changed the content of the current position*/
continue;
More information about the Syslinux-commits
mailing list