mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 18:25:16 +01:00
Rename snake_case functions in openrct2/src folder
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
@@ -504,13 +504,13 @@ namespace Platform
|
||||
|
||||
bool FindApp(std::string_view app, std::string* output)
|
||||
{
|
||||
log_warning("FindApp() not implemented for Windows!");
|
||||
LOG_WARNING("FindApp() not implemented for Windows!");
|
||||
return false;
|
||||
}
|
||||
|
||||
int32_t Execute(std::string_view command, std::string* output)
|
||||
{
|
||||
log_warning("Execute() not implemented for Windows!");
|
||||
LOG_WARNING("Execute() not implemented for Windows!");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -798,7 +798,7 @@ namespace Platform
|
||||
HANDLE mutex = CreateMutexW(nullptr, FALSE, SINGLE_INSTANCE_MUTEX_NAME);
|
||||
if (mutex == nullptr)
|
||||
{
|
||||
log_error("unable to create mutex");
|
||||
LOG_ERROR("unable to create mutex");
|
||||
return true;
|
||||
}
|
||||
else if (GetLastError() == ERROR_ALREADY_EXISTS)
|
||||
@@ -861,7 +861,7 @@ namespace Platform
|
||||
|
||||
bool SetupUriProtocol()
|
||||
{
|
||||
log_verbose("Setting up URI protocol...");
|
||||
LOG_VERBOSE("Setting up URI protocol...");
|
||||
|
||||
// [HKEY_CURRENT_USER\Software\Classes]
|
||||
HKEY hRootKey;
|
||||
@@ -895,7 +895,7 @@ namespace Platform
|
||||
RegSetKeyValueW(hMuiCacheKey, nullptr, buffer, REG_SZ, L"OpenRCT2", sizeof(L"OpenRCT2"));
|
||||
}
|
||||
|
||||
log_verbose("URI protocol setup successful");
|
||||
LOG_VERBOSE("URI protocol setup successful");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -903,7 +903,7 @@ namespace Platform
|
||||
}
|
||||
}
|
||||
|
||||
log_verbose("URI protocol setup failed");
|
||||
LOG_VERBOSE("URI protocol setup failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user