mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 14:02:59 +01:00
Enforce not breaking before assignments and function names
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
committed by
Hielke Morsink
parent
9bfa8bdbe8
commit
95ce592579
@@ -95,8 +95,8 @@ namespace OpenRCT2::Ui
|
||||
{
|
||||
case DIALOG_TYPE::KDIALOG:
|
||||
{
|
||||
std::string cmd
|
||||
= String::Format("%s --title \"OpenRCT2\" --msgbox \"%s\"", executablePath.c_str(), message.c_str());
|
||||
std::string cmd = String::Format(
|
||||
"%s --title \"OpenRCT2\" --msgbox \"%s\"", executablePath.c_str(), message.c_str());
|
||||
Execute(cmd);
|
||||
break;
|
||||
}
|
||||
@@ -220,8 +220,8 @@ namespace OpenRCT2::Ui
|
||||
case DIALOG_TYPE::KDIALOG:
|
||||
{
|
||||
std::string output;
|
||||
std::string cmd
|
||||
= String::Format("%s --title '%s' --getexistingdirectory /", executablePath.c_str(), title.c_str());
|
||||
std::string cmd = String::Format(
|
||||
"%s --title '%s' --getexistingdirectory /", executablePath.c_str(), title.c_str());
|
||||
if (Execute(cmd, &output) == 0)
|
||||
{
|
||||
result = output;
|
||||
|
||||
Reference in New Issue
Block a user