mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
Codechange: Ensure function opening {
is on new line.
This commit is contained in:
@@ -444,7 +444,8 @@ void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, WarningLevel
|
||||
* Close active error message window
|
||||
* @return true if a window was closed.
|
||||
*/
|
||||
bool HideActiveErrorMessage() {
|
||||
bool HideActiveErrorMessage()
|
||||
{
|
||||
ErrmsgWindow *w = (ErrmsgWindow*)FindWindowById(WC_ERRMSG, 0);
|
||||
if (w == nullptr) return false;
|
||||
w->Close();
|
||||
|
Reference in New Issue
Block a user