chore(spelling): add codespell pre-commit hook

Fixes spelling mistakes identified by it.
This commit is contained in:
Leroy Hopson 2024-03-29 23:55:53 +13:00
parent bc15d8950f
commit 1d2898f6ab
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
14 changed files with 23 additions and 18 deletions

View file

@ -20,7 +20,7 @@ const char* Terminal::FONT_TYPES[4] = {
};
const Terminal::KeyMap Terminal::KEY_MAP = {
// Godot does not have seperate scancodes for keypad keys when NumLock is
// Godot does not have separate scancodes for keypad keys when NumLock is
// off. We can check the unicode value to determine whether it is off and
// set the appropriate scancode. Based on the patch which adds support for
// this to TextEdit/LineEdit:

View file

@ -377,7 +377,7 @@ Dictionary PTYUnix::fork(
}
}
// reenable signals
// re-enable signals
pthread_sigmask(SIG_SETMASK, &oldmask, NULL);
switch (pid) {