Codechange: move news over to the new StringParameterBackup type

This commit is contained in:
Rubidium
2023-06-21 06:57:24 +02:00
committed by rubidium42
parent f4a3032985
commit 0943402bab
3 changed files with 10 additions and 10 deletions

View File

@@ -39,7 +39,7 @@
static bool DrawScrollingStatusText(const NewsItem *ni, int scroll_pos, int left, int right, int top, int bottom)
{
CopyInDParam(ni->params, lengthof(ni->params));
CopyInDParam(ni->params);
/* Replace newlines and the likes with spaces. */
std::string message = StrMakeValid(GetString(ni->string_id), SVS_REPLACE_TAB_CR_NL_WITH_SPACE);