File diff r2457:5646ac6cd401 → r2458:19436c43c92b
newgrf.c
Show inline comments
 
@@ -1668,7 +1668,7 @@ static void VehicleNewName(byte *buf, in
 
	name = (const char*)buf;
 
	len -= (lang & 0x80) ? 6 : 5;
 
	for (; id < endid && len > 0; id++) {
 
		int ofs = strlen(name) + 1;
 
		size_t ofs = strlen(name) + 1;
 

	
 
		if (ofs < 128) {
 
			DEBUG(grf, 8) ("VehicleNewName: %d <- %s", id, name);