mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-06 03:52:37 +01:00
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
This commit is contained in:
@@ -123,7 +123,7 @@ void ScrollbarClickHandler(Window *w, const Widget *wi, int x, int y)
|
||||
}
|
||||
}
|
||||
|
||||
SetWindowDirty(w);
|
||||
w->SetDirty();
|
||||
}
|
||||
|
||||
/** Returns the index for the widget located at the given position
|
||||
|
||||
Reference in New Issue
Block a user