projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5aa41f
)
hdt: Don't skrink cpu name
author
Erwan Velu
<erwanaliasr1@gmail.com>
Mon, 31 Jan 2011 16:03:02 +0000
(17:03 +0100)
committer
Erwan Velu
<erwanaliasr1@gmail.com>
Mon, 31 Jan 2011 16:03:02 +0000
(17:03 +0100)
com32/hdt/hdt-common.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-common.c
b/com32/hdt/hdt-common.c
index
5953be3
..
537e104
100644
(file)
--- 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;