Fix typos with codespell

Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
This commit is contained in:
Rémi Verschelde 2019-02-13 09:23:29 +01:00
parent 55ca2a7c88
commit 5fc86026ca
34 changed files with 50 additions and 51 deletions

View file

@ -569,7 +569,7 @@ bool VisualShader::_set(const StringName &p_name, const Variant &p_value) {
String mode = name.get_slicec('/', 1);
int value = p_value;
if (value == 0) {
modes.erase(mode); //means its default anyway, so dont store it
modes.erase(mode); //means it's default anyway, so don't store it
} else {
modes[mode] = value;
}