From fbd28bf4bb5dafd74ca87c425033b9fd4bcecf50 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Wed, 29 Oct 2003 19:42:19 +0000 Subject: [PATCH] Fixed issue with long filenames (directory entries not displayed) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1389 --- include/dos_system.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dos_system.h b/include/dos_system.h index 32212304..5c4cddf8 100644 --- a/include/dos_system.h +++ b/include/dos_system.h @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: dos_system.h,v 1.16 2003-10-09 13:50:27 finsterr Exp $ */ +/* $Id: dos_system.h,v 1.17 2003-10-29 19:42:19 finsterr Exp $ */ #ifndef DOSSYSTEM_H_ #define DOSSYSTEM_H_ @@ -140,6 +140,7 @@ private: Bits GetLongName (CFileInfo* info, char* shortname); void CreateShortName (CFileInfo* dir, CFileInfo* info); Bit16u CreateShortNameID (CFileInfo* dir, const char* name); + int CompareShortname (const char* compareName, const char* shortName); bool SetResult (CFileInfo* dir, char * &result, Bit16u entryNr); bool IsCachedIn (CFileInfo* dir); CFileInfo* FindDirInfo (const char* path, char* expandedPath);