From 5cb34a071d89d1f57de3e57bab8ee9f0f75c480a Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 31 Jan 2018 18:21:54 +0000 Subject: [PATCH] Correct small error/warning. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4073 --- src/dos/dos_mscdex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dos_mscdex.cpp b/src/dos/dos_mscdex.cpp index 321c1ea6..d6369d39 100644 --- a/src/dos/dos_mscdex.cpp +++ b/src/dos/dos_mscdex.cpp @@ -715,7 +715,7 @@ bool CMscdex::GetDirectoryEntry(Bit16u drive, bool copyFlag, PhysPt pathname, Ph do { entryLength = mem_readb(defBuffer+index); if (entryLength==0) break; - if (mem_readb(defBuffer+index+iso ? 0x19:0x18) & 4) { + if (mem_readb(defBuffer + index + (iso?0x19:0x18) ) & 4) { // skip associated files index += entryLength; continue;