(svn r11111) -Fix (r11106): missing const broke compilation with MSVC

pull/155/head
glx 17 years ago
parent 87b487d790
commit 045c996364

@ -359,7 +359,7 @@ static uint ScanPath(const char *path, int basepath_length)
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;

Loading…
Cancel
Save