From 6009e11726c0171fc3de8832932266187e1c2860 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 26 Sep 2002 18:22:53 +0000 Subject: [PATCH] made findfirst use CROSS_FILESPLIT instead of "/" Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@304 --- src/dos/drive_local.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/drive_local.cpp b/src/dos/drive_local.cpp index 1d787502..9bc8c98e 100644 --- a/src/dos/drive_local.cpp +++ b/src/dos/drive_local.cpp @@ -106,7 +106,7 @@ bool localDrive::FindFirst(char * search,DTA_FindBlock * dta) { strcpy(directory,name); /* make sure / is last sign */ if (pdir) closedir(pdir); - if(directory[(strlen(directory)-1)]!=CROSS_FILESPLIT) strcat(directory, "/"); + if(directory[(strlen(directory)-1)]!=CROSS_FILESPLIT) strcat(directory, CROSS_FILESPLIT); if((pdir=opendir(directory))==NULL) return false; return FindNext(dta); }