mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
fix an if statment. Found by thomas.
svn path=/trunk/; revision=17592
This commit is contained in:
parent
d261fc0b2b
commit
ac2b9c20d7
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ VOID CompleteFilename (LPTSTR strIN, BOOL bNext, LPTSTR strOut, INT cusor)
|
|||
|
||||
}
|
||||
/* insert the quoation and move things around */
|
||||
if(szPrefix[LastSpace + 1] == _T('\"') && LastSpace != -1)
|
||||
if(szPrefix[LastSpace + 1] != _T('\"') && LastSpace != -1)
|
||||
{
|
||||
/* add another char or you will lose a null char ending */
|
||||
_tcsncat(szPrefix,&szPrefix[_tcslen(szPrefix) - 1],1);
|
||||
|
|
Loading…
Reference in a new issue