2013-09-26 17:14:40 +02:00

23 lines
899 B
Plaintext

$NetBSD: patch-ab,v 1.2 2005/02/28 04:53:32 ben Exp $
--- FeLib/Source/feio.cpp.orig 2004-10-26 12:35:47.000000000 -0700
+++ FeLib/Source/feio.cpp
@@ -631,7 +631,7 @@ festring iosystem::ContinueMenu(col16 To
int Check = 0;
festring Buffer;
felist List(CONST_S("Choose a file and be sorry:"), TopicColor);
- hFile = _findfirst(festring(DirectoryName + "*.sav").CStr(), &Found);
+ hFile = _findfirst(festring(DirectoryName + "/*.sav").CStr(), &Found);
/* No file found */
if(hFile == -1L)
@@ -709,7 +709,7 @@ festring iosystem::ContinueMenu(col16 To
/* get all filenames ending with .sav. Accepts all files even if they
FA_HIDDEN or FA_ARCH flags are set (ie. they are hidden or archives */
- Check = findfirst(festring(DirectoryName + "*.sav").CStr(),
+ Check = findfirst(festring(DirectoryName + "/*.sav").CStr(),
&Found, FA_HIDDEN | FA_ARCH);
if(Check)