File diff r24216:bee2183ce93e → r24217:df2f5854f1e3
src/screenshot.cpp
Show inline comments
 
@@ -307,13 +307,13 @@ static bool MakePNGImage(const char *nam
 
	text[0].text = const_cast<char *>(_openttd_revision);
 
	text[0].text_length = strlen(_openttd_revision);
 
	text[0].compression = PNG_TEXT_COMPRESSION_NONE;
 

	
 
	char buf[8192];
 
	char *p = buf;
 
	p += seprintf(p, lastof(buf), "Graphics set: %s (%u)\n", BaseGraphics::GetUsedSet()->name, BaseGraphics::GetUsedSet()->version);
 
	p += seprintf(p, lastof(buf), "Graphics set: %s (%u)\n", BaseGraphics::GetUsedSet()->name.c_str(), BaseGraphics::GetUsedSet()->version);
 
	p = strecpy(p, "NewGRFs:\n", lastof(buf));
 
	for (const GRFConfig *c = _game_mode == GM_MENU ? nullptr : _grfconfig; c != nullptr; c = c->next) {
 
		p += seprintf(p, lastof(buf), "%08X ", BSWAP32(c->ident.grfid));
 
		p = md5sumToString(p, lastof(buf), c->ident.md5sum);
 
		p += seprintf(p, lastof(buf), " %s\n", c->filename);
 
	}