1
0
Fork 0

Dont show volume label on standard dir

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@958
This commit is contained in:
Ulf Wohlers 2003-04-23 12:09:30 +00:00
parent 336e693b61
commit 7685449fe3

View file

@ -242,7 +242,7 @@ void DOS_Shell::CMD_DIR(char * args) {
WriteOut(MSG_Get("SHELL_CMD_DIR_INTRO"),path);
DOS_DTA dta(dos.dta);
bool ret=DOS_FindFirst(args,0xffff);
bool ret=DOS_FindFirst(args,0xffff & ~DOS_ATTR_VOLUME);
if (!ret) {
WriteOut(MSG_Get("SHELL_CMD_FILE_NOT_FOUND"),args);
return;