cmd.exe: Hide new internal vars during SET.
This commit is contained in:
parent
2b03d7d75f
commit
d1317f5578
|
@ -1210,11 +1210,14 @@ 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) {
|
||||
/* Don't display special internal variables */
|
||||
if (str[i][0] != '=') {
|
||||
WCMD_output_asis(str[i]);
|
||||
WCMD_output_asis("\n");
|
||||
displayedcount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
LocalFree( str );
|
||||
return displayedcount;
|
||||
|
|
Loading…
Reference in New Issue