File diff r21150:8c9aefde794c → r21151:32d9eab0d5a9
src/strings.cpp
Show inline comments
 
@@ -277,14 +277,6 @@ char *GetString(char *buffr, StringID st
 
}
 

	
 

	
 
char *InlineString(char *buf, StringID string)
 
{
 
	buf += Utf8Encode(buf, SCC_STRING_ID);
 
	buf += Utf8Encode(buf, string);
 
	return buf;
 
}
 

	
 

	
 
/**
 
 * This function is used to "bind" a C string to a OpenTTD dparam slot.
 
 * @param n slot of the string
 
@@ -1017,11 +1009,6 @@ static char *FormatString(char *buff, co
 
				buff = strecpy(buff, _openttd_revision, last);
 
				break;
 

	
 
			case SCC_STRING_ID: // {STRINL}
 
				if (game_script) break;
 
				buff = GetStringWithArgs(buff, Utf8Consume(&str), args, last);
 
				break;
 

	
 
			case SCC_RAW_STRING_POINTER: { // {RAW_STRING}
 
				if (game_script) break;
 
				const char *str = (const char *)(size_t)args->GetInt64(SCC_RAW_STRING_POINTER);