cmd: Spelling fix.
This commit is contained in:
parent
8d9fbef94f
commit
ebfeb41e99
|
@ -63,7 +63,7 @@ static ULONGLONG byte_total;
|
||||||
static DISPLAYTIME dirTime;
|
static DISPLAYTIME dirTime;
|
||||||
static DISPLAYORDER dirOrder;
|
static DISPLAYORDER dirOrder;
|
||||||
static BOOL orderReverse, orderGroupDirs, orderGroupDirsReverse, orderByCol;
|
static BOOL orderReverse, orderGroupDirs, orderGroupDirsReverse, orderByCol;
|
||||||
static BOOL seperator;
|
static BOOL separator;
|
||||||
static ULONG showattrs, attrsbits;
|
static ULONG showattrs, attrsbits;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -104,7 +104,7 @@ void WCMD_directory (void) {
|
||||||
shortname = FALSE;
|
shortname = FALSE;
|
||||||
usernames = FALSE;
|
usernames = FALSE;
|
||||||
orderByCol = FALSE;
|
orderByCol = FALSE;
|
||||||
seperator = TRUE;
|
separator = TRUE;
|
||||||
dirTime = Written;
|
dirTime = Written;
|
||||||
dirOrder = Name;
|
dirOrder = Name;
|
||||||
orderReverse = FALSE;
|
orderReverse = FALSE;
|
||||||
|
@ -152,8 +152,8 @@ void WCMD_directory (void) {
|
||||||
case 'D': if (negate) orderByCol = !orderByCol;
|
case 'D': if (negate) orderByCol = !orderByCol;
|
||||||
else orderByCol = TRUE;
|
else orderByCol = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'C': if (negate) seperator = !seperator;
|
case 'C': if (negate) separator = !separator;
|
||||||
else seperator = TRUE;
|
else separator = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'T': p = p + 1;
|
case 'T': p = p + 1;
|
||||||
if (*p==':') p++; /* Skip optional : */
|
if (*p==':') p++; /* Skip optional : */
|
||||||
|
@ -566,7 +566,7 @@ char * WCMD_filesize64 (ULONGLONG n) {
|
||||||
p = buff;
|
p = buff;
|
||||||
i = -3;
|
i = -3;
|
||||||
do {
|
do {
|
||||||
if (seperator && ((++i)%3 == 1)) *p++ = ',';
|
if (separator && ((++i)%3 == 1)) *p++ = ',';
|
||||||
q = n / 10;
|
q = n / 10;
|
||||||
r = n - (q * 10);
|
r = n - (q * 10);
|
||||||
*p++ = r + '0';
|
*p++ = r + '0';
|
||||||
|
|
Loading…
Reference in New Issue