1
0
Fork 0

fix get filename from entry

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3108
This commit is contained in:
Sebastian Strohhäcker 2008-02-22 18:18:03 +00:00
parent cb1b1fcbce
commit 2a10734876

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2002-2007 The DOSBox Team
* Copyright (C) 2002-20078 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: drive_fat.cpp,v 1.23 2007-11-03 17:20:29 c2woody Exp $ */
/* $Id: drive_fat.cpp,v 1.24 2008-02-22 18:18:03 c2woody Exp $ */
#include <stdio.h>
#include <stdlib.h>
@ -394,6 +394,7 @@ bool fatDrive::getEntryName(char *fullname, char *entname) {
//LOG_MSG("Testing for filename %s", fullname);
findDir = strtok(dirtoken,"\\");
if (findDir==NULL) return false;
findFile = findDir;
while(findDir != NULL) {
findFile = findDir;