mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
- fix identation which got broken in rev 32822
svn path=/trunk/; revision=32823
This commit is contained in:
parent
2f9dde596f
commit
d5e7835997
1 changed files with 14 additions and 14 deletions
|
@ -485,7 +485,7 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param)
|
|||
LoadString(CMD_ModuleHandle, STRING_ERROR_INVALID_SWITCH, szMsg, RC_STRING_MAX_SIZE);
|
||||
ConOutPrintf(szMsg, _totupper(arg[i][1]));
|
||||
nErrorLevel = 1;
|
||||
freep (arg);
|
||||
freep (arg);
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
|
@ -505,19 +505,19 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param)
|
|||
/* Add these onto the source string
|
||||
this way we can do all checks
|
||||
directly on source string later on */
|
||||
TCHAR * ptr;
|
||||
int length = (_tcslen(arg[nSrc]) +_tcslen(arg[i]) + _tcslen(arg[i+1]) + 1) * sizeof(TCHAR);
|
||||
ptr = cmd_alloc(length);
|
||||
if (ptr)
|
||||
{
|
||||
_tcscpy(ptr, arg[nSrc]);
|
||||
_tcscat(ptr, arg[i]);
|
||||
_tcscat(ptr, arg[i+1]);
|
||||
cmd_free(arg[nSrc]);
|
||||
arg[nSrc] = ptr;
|
||||
i++;
|
||||
nFiles -= 2;
|
||||
}
|
||||
TCHAR * ptr;
|
||||
int length = (_tcslen(arg[nSrc]) +_tcslen(arg[i]) + _tcslen(arg[i+1]) + 1) * sizeof(TCHAR);
|
||||
ptr = cmd_alloc(length);
|
||||
if (ptr)
|
||||
{
|
||||
_tcscpy(ptr, arg[nSrc]);
|
||||
_tcscat(ptr, arg[i]);
|
||||
_tcscat(ptr, arg[i+1]);
|
||||
cmd_free(arg[nSrc]);
|
||||
arg[nSrc] = ptr;
|
||||
i++;
|
||||
nFiles -= 2;
|
||||
}
|
||||
}
|
||||
else if(nDes == -1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue