From 51921552536d2fbc56c8cdaf682da038e26a168c Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 13 Aug 2012 18:52:47 +0000 Subject: (svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro) --- src/newgrf_gui.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index f832454e6..5b9927b9d 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -542,8 +542,6 @@ struct NewGRFTextfileWindow : public TextfileWindow { NewGRFTextfileWindow(TextfileType file_type, const GRFConfig *c) : TextfileWindow(file_type), grf_config(c) { - this->GetWidget(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); } -- cgit v1.2.3-54-g00ecf