diff options
| author | Rémi Verschelde | 2018-02-24 01:32:59 +0100 |
|---|---|---|
| committer | GitHub | 2018-02-24 01:32:59 +0100 |
| commit | 05fec82f313b31d3a5cbdcd8a25afcddfbef424a (patch) | |
| tree | 6c91cc393fe13be94c62f75a11dc4c0fe3ba34d3 /modules | |
| parent | 689dfcd9ec5ad8aceabd96aaadf6eb57a31e62e4 (diff) | |
| parent | 370f84f41cf3ce493c2de687455880d9e1e04be6 (diff) | |
| download | godot-05fec82f313b31d3a5cbdcd8a25afcddfbef424a.tar.gz godot-05fec82f313b31d3a5cbdcd8a25afcddfbef424a.tar.zst godot-05fec82f313b31d3a5cbdcd8a25afcddfbef424a.zip | |
Merge pull request #16934 from anakimluke/fix_space_around_args
Removed whitespaces around arguments of functions.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 505562324..db3787470 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -410,13 +410,11 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na String s = "func " + p_name + "("; if (p_args.size()) { - s += " "; for (int i = 0; i < p_args.size(); i++) { if (i > 0) s += ", "; s += p_args[i].get_slice(":", 0); } - s += " "; } s += "):\n" + _get_indentation() + "pass # replace with function body\n"; |
