cmd.exe: Hide new internal vars during SET.

This commit is contained in:
Jason Edmeades 2007-03-08 00:48:17 +00:00 committed by Alexandre Julliard
parent 2b03d7d75f
commit d1317f5578

View File

@ -1210,9 +1210,12 @@ static int WCMD_setshow_sortenv(const char *s, const char *stub)
if (!stub || CompareString (LOCALE_USER_DEFAULT,
NORM_IGNORECASE | SORT_STRINGSORT,
str[i], stublen, stub, -1) == 2) {
WCMD_output_asis(str[i]);
WCMD_output_asis("\n");
displayedcount++;
/* Don't display special internal variables */
if (str[i][0] != '=') {
WCMD_output_asis(str[i]);
WCMD_output_asis("\n");
displayedcount++;
}
}
}