(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)

This commit is contained in:
yexo
2012-08-13 18:52:47 +00:00
parent cc5eccc574
commit 5951be7ca7
4 changed files with 1 additions and 6 deletions

View File

@@ -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);
}