diff options
author | George L. Albany <Megacake1234@gmail.com> | 2024-11-19 22:29:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 22:29:10 +0000 |
commit | fd9045fe09e9bea691f0169c16d45cbebddb6bba (patch) | |
tree | 148a5511d3c1d723b2f2f364c832c2ba6f267fcc /core/debugger/remote_debugger.cpp | |
parent | 9767837a7ec40697788765e581131cb2cf172567 (diff) | |
parent | cfc378b251e4330c6b6be949d4c054f9bae48159 (diff) | |
download | redot-engine-fd9045fe09e9bea691f0169c16d45cbebddb6bba.tar.gz |
Merge pull request #873 from Spartan322/merge/fd4c29a
Merge commit godotengine/godot@fd4c29a
Diffstat (limited to 'core/debugger/remote_debugger.cpp')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index b69a7db989..bc11cbe56a 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -340,7 +340,7 @@ void RemoteDebugger::_send_stack_vars(List<String> &p_names, List<Variant> &p_va } Error RemoteDebugger::_try_capture(const String &p_msg, const Array &p_data, bool &r_captured) { - const int idx = p_msg.find(":"); + const int idx = p_msg.find_char(':'); r_captured = false; if (idx < 0) { // No prefix, unknown message. return OK; @@ -612,7 +612,7 @@ void RemoteDebugger::poll_events(bool p_is_idle) { ERR_CONTINUE(arr[1].get_type() != Variant::ARRAY); const String cmd = arr[0]; - const int idx = cmd.find(":"); + const int idx = cmd.find_char(':'); bool parsed = false; if (idx < 0) { // Not prefix, use scripts capture. capture_parse("core", cmd, arr[1], parsed); |