(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)
This commit is contained in:
@@ -127,8 +127,6 @@ struct BaseSetTextfileWindow : public TextfileWindow {
|
||||
|
||||
BaseSetTextfileWindow(TextfileType file_type, const TBaseSet* baseset, StringID content_type) : TextfileWindow(file_type), baseset(baseset), content_type(content_type)
|
||||
{
|
||||
this->GetWidget<NWidgetCore>(WID_TF_CAPTION)->SetDataTip(STR_TEXTFILE_README_CAPTION + file_type, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS);
|
||||
|
||||
const char *textfile = this->baseset->GetTextfile(file_type);
|
||||
this->LoadTextfile(textfile, BASESET_DIR);
|
||||
}
|
||||
|
Reference in New Issue
Block a user