(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

@@ -542,8 +542,6 @@ struct NewGRFTextfileWindow : public TextfileWindow {
NewGRFTextfileWindow(TextfileType file_type, const GRFConfig *c) : TextfileWindow(file_type), grf_config(c)
{
this->GetWidget<NWidgetCore>(WID_TF_CAPTION)->SetDataTip(STR_TEXTFILE_README_CAPTION + file_type, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS);
const char *textfile = this->grf_config->GetTextfile(file_type);
this->LoadTextfile(textfile, NEWGRF_DIR);
}