diff options
| author | Rémi Verschelde | 2018-01-18 21:37:17 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-01-18 22:01:42 +0100 |
| commit | 9f479f096cb50fa8d1215e68c262f110116114ef (patch) | |
| tree | f115332a8e73ab059c16b077873ca2f3faab9cb1 /editor/dependency_editor.cpp | |
| parent | a1c08b71091c47d626410406f36a4bb6fca40953 (diff) | |
| download | godot-9f479f096cb50fa8d1215e68c262f110116114ef.tar.gz godot-9f479f096cb50fa8d1215e68c262f110116114ef.tar.zst godot-9f479f096cb50fa8d1215e68c262f110116114ef.zip | |
Diffstat (limited to 'editor/dependency_editor.cpp')
| -rw-r--r-- | editor/dependency_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index 3ecb7d631..19fd297f6 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -627,7 +627,7 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa if (!efsd) return false; - bool has_childs = false; + bool has_children = false; for (int i = 0; i < efsd->get_subdir_count(); i++) { @@ -643,7 +643,7 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa if (!children) { memdelete(dir_item); } else { - has_childs = true; + has_children = true; } } } @@ -683,12 +683,12 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa ti->add_button(1, get_icon("GuiVisibilityVisible", "EditorIcons")); } ti->set_metadata(0, path); - has_childs = true; + has_children = true; } } } - return has_childs; + return has_children; } void OrphanResourcesDialog::refresh() { |
