diff options
author | frosch <frosch@openttd.org> | 2012-12-23 21:06:37 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-23 21:06:37 +0000 |
commit | 647ee0de64b74f714aea04b6e3bd0b4fb06f8694 (patch) | |
tree | e2308fc494413384aee88fe9001447b0af317d81 /src/toolbar_gui.cpp | |
parent | 147d5264e36e1bec5e7b9e02efa5510b14dfec4f (diff) | |
download | openttd-647ee0de64b74f714aea04b6e3bd0b4fb06f8694.tar.xz |
(svn r24842) -Remove: News settings window.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 9b5879c85..ad3b8fff5 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -916,7 +916,7 @@ static CallBackFunction MenuClickMusicWindow(int index) static CallBackFunction ToolbarNewspaperClick(Window *w) { - PopupMainToolbMenu(w, WID_TN_MESSAGES, STR_NEWS_MENU_LAST_MESSAGE_NEWS_REPORT, 3); + PopupMainToolbMenu(w, WID_TN_MESSAGES, STR_NEWS_MENU_LAST_MESSAGE_NEWS_REPORT, 2); return CBF_NONE; } @@ -930,8 +930,7 @@ static CallBackFunction MenuClickNewspaper(int index) { switch (index) { case 0: ShowLastNewsMessage(); break; - case 1: ShowMessageOptions(); break; - case 2: ShowMessageHistory(); break; + case 1: ShowMessageHistory(); break; } return CBF_NONE; } |