From ee8103cc23efe6207df32811126e861456f8ff04 Mon Sep 17 00:00:00 2001 From: ripsaw8080 Date: Tue, 22 May 2018 15:18:00 +0000 Subject: [PATCH] Lock default label of HDD local drive mounts. Fixes label changing to the host drive label when resetting cache on the Windows platform. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4104 --- src/dos/dos_programs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dos_programs.cpp b/src/dos/dos_programs.cpp index 51bf01b1..63b4c79d 100644 --- a/src/dos/dos_programs.cpp +++ b/src/dos/dos_programs.cpp @@ -403,7 +403,7 @@ public: * This way every drive except cdroms should get a label.*/ else if(type == "dir") { label = drive; label += "_DRIVE"; - newdrive->dirCache.SetLabel(label.c_str(),iscdrom,true); + newdrive->dirCache.SetLabel(label.c_str(),iscdrom,false); } else if(type == "floppy") { label = drive; label += "_FLOPPY"; newdrive->dirCache.SetLabel(label.c_str(),iscdrom,true);