fix an if statment. Found by thomas. Modified: trunk/reactos/subsys/system/cmd/filecomp.c _____
Modified: trunk/reactos/subsys/system/cmd/filecomp.c --- trunk/reactos/subsys/system/cmd/filecomp.c 2005-08-29 18:25:54 UTC (rev 17591) +++ trunk/reactos/subsys/system/cmd/filecomp.c 2005-08-29 19:09:41 UTC (rev 17592) @@ -690,7 +690,7 @@
} /* 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);