mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r81) -Fix: news_gui.c contained a MSVC compile error
This commit is contained in:
parent
31aae99485
commit
add3151b11
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue