forked from rosebudai/OpenRCT2-Web
Refactor/Improve String and Path Handling
This commit is contained in:
1 parent
211a0d7863
commit
e5ff7412e4
94 files changed
+1038
-989
No files matched your search
@@ -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