added constructor for CFileInfo
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1577
This commit is contained in:
parent
5d739cb67e
commit
00673b9f45
1 changed files with 6 additions and 1 deletions
|
@ -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<fileList.size(); i++) delete fileList[i];
|
||||
fileList.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue