Codechange: prepare for replacement of SetStringParameter by GetWidgetString

This commit is contained in:
Rubidium
2025-03-01 22:06:29 +01:00
committed by rubidium42
parent 321debf7b1
commit d94d421772
4 changed files with 69 additions and 51 deletions

View File

@@ -504,7 +504,7 @@ struct NewsWindow : Window {
{
switch (widget) {
case WID_N_CAPTION:
DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, TC_FROMSTRING, STR_NEWS_MESSAGE_CAPTION, SA_CENTER, FS_NORMAL);
DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, TC_FROMSTRING, GetString(STR_NEWS_MESSAGE_CAPTION), SA_CENTER, FS_NORMAL);
break;
case WID_N_PANEL: