forked from mirror/OpenTTD
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
This commit is contained in:
@@ -114,7 +114,7 @@ static void StatusBarWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
case WE_MESSAGE:
|
||||
w->message.msg = e->we.message.msg;
|
||||
SetWindowDirty(w);
|
||||
w->SetDirty();
|
||||
break;
|
||||
|
||||
case WE_CLICK:
|
||||
|
Reference in New Issue
Block a user