summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-06-24 12:20:55 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-06-24 15:43:55 -0500
commite0d363aad8e2204fe8ca4b6937ef2ad74a7b293b (patch)
treec8300e4864984e9157ba8502ee019c4cd7226128 /src/core
parentc414c2b37d0563456a2fe194b16f8c4aa442e865 (diff)
downloadredot-cpp-e0d363aad8e2204fe8ca4b6937ef2ad74a7b293b.tar.gz
Integrate `.pre-commit-config.yaml`
Diffstat (limited to 'src/core')
-rw-r--r--src/core/memory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index f330c23..fca794d 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -36,7 +36,7 @@ namespace godot {
void *Memory::alloc_static(size_t p_bytes, bool p_pad_align) {
#ifdef DEBUG_ENABLED
- bool prepad = false; // Alredy pre paded in the engine.
+ bool prepad = false; // Already pre paded in the engine.
#else
bool prepad = p_pad_align;
#endif
@@ -63,7 +63,7 @@ void *Memory::realloc_static(void *p_memory, size_t p_bytes, bool p_pad_align) {
uint8_t *mem = (uint8_t *)p_memory;
#ifdef DEBUG_ENABLED
- bool prepad = false; // Alredy pre paded in the engine.
+ bool prepad = false; // Already pre paded in the engine.
#else
bool prepad = p_pad_align;
#endif
@@ -82,7 +82,7 @@ void Memory::free_static(void *p_ptr, bool p_pad_align) {
uint8_t *mem = (uint8_t *)p_ptr;
#ifdef DEBUG_ENABLED
- bool prepad = false; // Alredy pre paded in the engine.
+ bool prepad = false; // Already pre paded in the engine.
#else
bool prepad = p_pad_align;
#endif