diff options
author | truelight <truelight@openttd.org> | 2004-08-19 09:03:35 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-08-19 09:03:35 +0000 |
commit | add3151b118a252501a4c5ea2d726c9c1599cb2b (patch) | |
tree | d3b77db7af9ea472816506900b66c3600f5e1f21 | |
parent | 31aae994850ea9965157508baa43cf97c47ea373 (diff) | |
download | openttd-add3151b118a252501a4c5ea2d726c9c1599cb2b.tar.xz |
(svn r81) -Fix: news_gui.c contained a MSVC compile error
-rw-r--r-- | news_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/news_gui.c b/news_gui.c index d08185333..54b341360 100644 --- a/news_gui.c +++ b/news_gui.c @@ -133,8 +133,8 @@ static void NewsWindowProc(Window *w, WindowEvent *e) case WE_CLICK: { switch(e->click.widget) { case 1: { - DeleteWindow(w); NewsItem *ni = WP(w,news_d).ni; + DeleteWindow(w); ni->duration = 0; if(_forced_news!=255) _forced_news = 255; } break; |