diff options
author | yexo <yexo@openttd.org> | 2012-08-13 18:52:47 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2012-08-13 18:52:47 +0000 |
commit | 51921552536d2fbc56c8cdaf682da038e26a168c (patch) | |
tree | 446910fbfe067f164f846acd80df7698e9a1369f /src/settings_gui.cpp | |
parent | 483d878d5fbe549b2e8196c8e8176ad560734343 (diff) | |
download | openttd-51921552536d2fbc56c8cdaf682da038e26a168c.tar.xz |
(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 8c30135bb..8cfda047a 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -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); } |