projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86e551c
)
hdt: fix precedence problem in double-space check
author
Jim Cromie
<jim.cromie@gmail.com>
Wed, 13 Apr 2011 18:57:31 +0000
(20:57 +0200)
committer
Erwan Velu
<erwanaliasr1@gmail.com>
Wed, 13 Apr 2011 19:00:05 +0000
(21:00 +0200)
com32/hdt/hdt-common.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-common.c
b/com32/hdt/hdt-common.c
index
8ae49ee
..
f475399
100644
(file)
--- a/
com32/hdt/hdt-common.c
+++ b/
com32/hdt/hdt-common.c
@@
-661,7
+661,7
@@
char *del_multi_spaces(char *p)
* As we search for a double spacing
* we have to be sure then string is
* long enough to be processed */
- while (*p && *
p + 1
) {
+ while (*p && *
(p + 1)
) {
/* If we have two consecutive spaces */
if ((*p == ' ') && (*(p + 1) == ' ')) {