mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Refactor/Improve String and Path Handling
This commit is contained in:
@@ -62,7 +62,7 @@ void http_init()
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
// Find SSL certificate bundle
|
||||
platform_get_exe_path(_caBundlePath);
|
||||
platform_get_exe_path(_caBundlePath, sizeof(_caBundlePath));
|
||||
Path::Append(_caBundlePath, sizeof(_caBundlePath), DEFAULT_CA_BUNDLE_PATH);
|
||||
if (!platform_file_exists(_caBundlePath)) {
|
||||
String::Set(_caBundlePath, sizeof(_caBundlePath), DEFAULT_CA_BUNDLE_PATH);
|
||||
|
||||
Reference in New Issue
Block a user