mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Removed duplicate output of used disk space in the summary.
svn path=/trunk/; revision=4660
This commit is contained in:
parent
dbf90936aa
commit
8e23b88b00
1 changed files with 5 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: dir.c,v 1.1 2003/03/20 19:19:22 rcampbell Exp $
|
/* $Id: dir.c,v 1.2 2003/05/09 21:58:05 ekohl Exp $
|
||||||
*
|
*
|
||||||
* DIR.C - dir internal command.
|
* DIR.C - dir internal command.
|
||||||
*
|
*
|
||||||
|
@ -719,10 +719,10 @@ GetUserDiskFreeSpace(LPCTSTR lpRoot,
|
||||||
}
|
}
|
||||||
|
|
||||||
GetDiskFreeSpace(lpRoot,
|
GetDiskFreeSpace(lpRoot,
|
||||||
&dwSecPerCl,
|
&dwSecPerCl,
|
||||||
&dwBytPerSec,
|
&dwBytPerSec,
|
||||||
&dwFreeCl,
|
&dwFreeCl,
|
||||||
&dwTotCl);
|
&dwTotCl);
|
||||||
|
|
||||||
lpFreeSpace->QuadPart = dwSecPerCl * dwBytPerSec * dwFreeCl;
|
lpFreeSpace->QuadPart = dwSecPerCl * dwBytPerSec * dwFreeCl;
|
||||||
}
|
}
|
||||||
|
@ -757,8 +757,6 @@ PrintSummary(LPTSTR szPath,
|
||||||
ConvertULargeInteger (bytes, buffer, sizeof(buffer));
|
ConvertULargeInteger (bytes, buffer, sizeof(buffer));
|
||||||
ConOutPrintf (_T(" %15s byte%c\n"),
|
ConOutPrintf (_T(" %15s byte%c\n"),
|
||||||
buffer, bytes.QuadPart == 1 ? _T(' ') : _T('s'));
|
buffer, bytes.QuadPart == 1 ? _T(' ') : _T('s'));
|
||||||
ConOutPrintf (_T(" %I64u byte%c\n"),
|
|
||||||
bytes.QuadPart, bytes.QuadPart == 1 ? _T(' ') : _T('s'));
|
|
||||||
|
|
||||||
if (IncLine (pLine, dwFlags))
|
if (IncLine (pLine, dwFlags))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue