summaryrefslogtreecommitdiff
path: root/core/debugger
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2020-03-11 13:59:18 -0400
committerluz.paz <luzpaz@users.noreply.github.com>2020-03-11 13:59:18 -0400
commit7bf6e5f7732f3fa890561255610f50a65e755adf (patch)
tree7ce9a51814f1264cc21b5cc1ab7baa7439f2e961 /core/debugger
parentaeff25f3134c1af34285bb1021c709936cf5377d (diff)
Fix various typos
Found via `codespell`
Diffstat (limited to 'core/debugger')
-rw-r--r--core/debugger/debugger_marshalls.cpp4
-rw-r--r--core/debugger/remote_debugger.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/debugger/debugger_marshalls.cpp b/core/debugger/debugger_marshalls.cpp
index 4bccf0805f..eb3a19506a 100644
--- a/core/debugger/debugger_marshalls.cpp
+++ b/core/debugger/debugger_marshalls.cpp
@@ -32,8 +32,8 @@
#include "core/io/marshalls.h"
-#define CHECK_SIZE(arr, expected, what) ERR_FAIL_COND_V_MSG((uint32_t)arr.size() < (uint32_t)(expected), false, String("Malformed ") + what + " message from script debugger, message too short. Exptected size: " + itos(expected) + ", actual size: " + itos(arr.size()))
-#define CHECK_END(arr, expected, what) ERR_FAIL_COND_V_MSG((uint32_t)arr.size() > (uint32_t)expected, false, String("Malformed ") + what + " message from script debugger, message too long. Exptected size: " + itos(expected) + ", actual size: " + itos(arr.size()))
+#define CHECK_SIZE(arr, expected, what) ERR_FAIL_COND_V_MSG((uint32_t)arr.size() < (uint32_t)(expected), false, String("Malformed ") + what + " message from script debugger, message too short. Expected size: " + itos(expected) + ", actual size: " + itos(arr.size()))
+#define CHECK_END(arr, expected, what) ERR_FAIL_COND_V_MSG((uint32_t)arr.size() > (uint32_t)expected, false, String("Malformed ") + what + " message from script debugger, message too long. Expected size: " + itos(expected) + ", actual size: " + itos(arr.size()))
Array DebuggerMarshalls::ResourceUsage::serialize() {
infos.sort();
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp
index 7952391a27..5f7ffb115c 100644
--- a/core/debugger/remote_debugger.cpp
+++ b/core/debugger/remote_debugger.cpp
@@ -887,7 +887,7 @@ RemoteDebugger::RemoteDebugger(Ref<RemoteDebuggerPeer> p_peer) {
visual_profiler = memnew(VisualProfiler);
_bind_profiler("visual", visual_profiler);
- // Perfromance Profiler
+ // Performance Profiler
Object *perf = Engine::get_singleton()->get_singleton_object("Performance");
if (perf) {
performance_profiler = memnew(PerformanceProfiler(perf));