Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
This commit is contained in:
parent
c103f32ea3
commit
debeee56f7
98 changed files with 180 additions and 182 deletions
|
|
@ -550,12 +550,12 @@ class CommandQueueMT {
|
|||
if ((COMMAND_MEM_SIZE - write_ptr) < alloc_size + 4) {
|
||||
// no room at the end, wrap down;
|
||||
|
||||
if (read_ptr == 0) // dont want write_ptr to become read_ptr
|
||||
if (read_ptr == 0) // don't want write_ptr to become read_ptr
|
||||
return NULL;
|
||||
|
||||
// if this happens, it's a bug
|
||||
ERR_FAIL_COND_V((COMMAND_MEM_SIZE - write_ptr) < sizeof(uint32_t), NULL);
|
||||
// zero means, wrap to begining
|
||||
// zero means, wrap to beginning
|
||||
|
||||
uint32_t *p = (uint32_t *)&command_mem[write_ptr];
|
||||
*p = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue