cmd: Avoid duplication of commonly used strings.

oldstable
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;
} else {
static const WCHAR padfmt[] = {'%','1','!','*','s','!','\0'};
static const WCHAR empty[] = {'\0'};
WCMD_output(padfmt, cur_width - tmp_width, empty);
WCMD_output(padfmt, cur_width - tmp_width, nullW);
}
} else if ((fd+i)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {