cmd: Avoid duplication of commonly used strings.

This commit is contained in:
Frédéric Delanoy 2011-12-06 23:08:00 +01:00 committed by Alexandre Julliard
parent c481cdd25e
commit 0eec6b5de0
1 changed files with 1 additions and 2 deletions

View File

@ -410,8 +410,7 @@ static DIRECTORY_STACK *WCMD_list_directory (DIRECTORY_STACK *inputparms, int le
cur_width = 0; cur_width = 0;
} else { } else {
static const WCHAR padfmt[] = {'%','1','!','*','s','!','\0'}; static const WCHAR padfmt[] = {'%','1','!','*','s','!','\0'};
static const WCHAR empty[] = {'\0'}; WCMD_output(padfmt, cur_width - tmp_width, nullW);
WCMD_output(padfmt, cur_width - tmp_width, empty);
} }
} else if ((fd+i)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { } else if ((fd+i)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {