summaryrefslogtreecommitdiff
path: root/games/ivan/patches/patch-ab
blob: 427722d698e40ef8c358fb655d7551cd245ad7ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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)