From 00673b9f454fac9f62c7095a6045c547da4c7736 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Mon, 12 Jan 2004 20:25:57 +0000 Subject: [PATCH] added constructor for CFileInfo Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1577 --- include/dos_system.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/dos_system.h b/include/dos_system.h index 5cee5e4e..594c81c9 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.19 2004-01-10 14:03:33 qbix79 Exp $ */ +/* $Id: dos_system.h,v 1.20 2004-01-12 20:25:57 finsterr Exp $ */ #ifndef DOSSYSTEM_H_ #define DOSSYSTEM_H_ @@ -117,6 +117,11 @@ public: class CFileInfo { public: + CFileInfo(void) { + orgname[0] = shortname[0] = 0; + nextEntry = shortNr = compareCount = 0; + isDir = false; + } ~CFileInfo(void) { for (Bit32u i=0; i