File diff r24596:eddf98238034 → r24597:afde5721a3b6
src/strgen/strgen.cpp
Show inline comments
 
@@ -301,13 +301,13 @@ struct HeaderFileWriter : HeaderWriter, 
 

	
 
	void Finalise(const StringData &data)
 
	{
 
		/* Find the plural form with the most amount of cases. */
 
		int max_plural_forms = 0;
 
		for (uint i = 0; i < lengthof(_plural_forms); i++) {
 
			max_plural_forms = max(max_plural_forms, _plural_forms[i].plural_count);
 
			max_plural_forms = std::max(max_plural_forms, _plural_forms[i].plural_count);
 
		}
 

	
 
		fprintf(this->fh,
 
			"\n"
 
			"static const uint LANGUAGE_PACK_VERSION     = 0x%X;\n"
 
			"static const uint LANGUAGE_MAX_PLURAL       = %u;\n"