Changeset - r8009:b8cb91600418
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2007-12-04 18:42:08
rubidium@openttd.org
(svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -350,6 +350,12 @@ FILE *FioFOpenFile(const char *filename,
 
		}
 
	}
 

	
 
	/* Sometimes a full path is given. To support
 
	 * the 'subdirectory' must be 'removed'. */
 
	if (f == NULL && subdir != NO_DIRECTORY) {
 
		f = FioFOpenFile(filename, mode, NO_DIRECTORY, filesize);
 
	}
 

	
 
	return f;
 
}
 

	
0 comments (0 inline, 0 general)