projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac2b9c2
)
fixed uninitialized variable warning
author
Thomas Bluemel
<thomas@reactsoft.com>
Mon, 29 Aug 2005 20:06:43 +0000
(20:06 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Mon, 29 Aug 2005 20:06:43 +0000
(20:06 +0000)
svn path=/trunk/; revision=17593
reactos/subsys/system/cmd/filecomp.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/cmd/filecomp.c
b/reactos/subsys/system/cmd/filecomp.c
index
109865c
..
740f396
100644
(file)
--- a/
reactos/subsys/system/cmd/filecomp.c
+++ b/
reactos/subsys/system/cmd/filecomp.c
@@
-572,7
+572,7
@@
VOID CompleteFilename (LPTSTR strIN, BOOL bNext, LPTSTR strOut, INT cusor)
no quote at the END of the full name */
FindPrefixAndSuffix(str,szPrefix,szBaseWord);
/* Strip quotes */
-
while(i < _tcslen(szBaseWord)+1
)
+
for(i = 0; i < _tcslen(szBaseWord);
)
{
if(szBaseWord[i] == _T('\"'))
memmove(&szBaseWord[i],&szBaseWord[i + 1], _tcslen(&szBaseWord[i]) * sizeof(TCHAR));