mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
Better solution for the previous fix.
This commit is contained in:
parent
78534d1564
commit
d75d3591ed
@ -5161,6 +5161,10 @@ String::String(const CharType *p_str) {
|
||||
copy_from(p_str);
|
||||
}
|
||||
|
||||
String::String(const Char16String &p_str) {
|
||||
copy_from(p_str.ptr());
|
||||
}
|
||||
|
||||
String::String(const char *p_str, int p_clip_to_len) {
|
||||
copy_from(p_str, p_clip_to_len);
|
||||
}
|
||||
|
@ -569,6 +569,7 @@ public:
|
||||
String(const char *p_str);
|
||||
String(const wchar_t *p_str);
|
||||
String(const CharType *p_str);
|
||||
String(const Char16String &p_str);
|
||||
String(const char *p_str, int p_clip_to_len);
|
||||
String(const wchar_t *p_str, int p_clip_to_len);
|
||||
String(const CharType *p_str, int p_clip_to_len);
|
||||
|
@ -2983,7 +2983,7 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments,
|
||||
CloseHandle(pipe[1]);
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V_MSG(ret == 0, ERR_CANT_FORK, "Could not create child process: " + String((wchar_t *) modstr.ptr()));
|
||||
ERR_FAIL_COND_V_MSG(ret == 0, ERR_CANT_FORK, "Could not create child process: " + String(modstr));
|
||||
|
||||
if (p_blocking) {
|
||||
if (r_pipe) {
|
||||
|
Loading…
Reference in New Issue
Block a user