Changeset - r7586:d9c02a2e2486
[Not reviewed]
master
0 1 0
glx - 17 years ago 2007-09-15 00:49:44
glx@openttd.org
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_config.cpp
Show inline comments
 
@@ -359,7 +359,7 @@ static uint ScanPath(const char *path, i
 
bool FioTarFileListScanNewGRFCallback(const char *filename, int size, void *userdata)
 
{
 
	uint *num = (uint *)userdata;
 
	char *ext = strrchr(filename, '.');
 
	const char *ext = strrchr(filename, '.');
 

	
 
	/* If no extension or extension isn't .grf, skip the file */
 
	if (ext == NULL) return false;
0 comments (0 inline, 0 general)