1
0
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:
2023-11-09 19:20:41 +00:00
committed by Peter Nelson
parent 1de1af08b9
commit d4008850e3
22 changed files with 64 additions and 32 deletions

View File

@@ -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();