Merge pull request #16934 from anakimluke/fix_space_around_args

Removed whitespaces around arguments of functions.
This commit is contained in:
Rémi Verschelde 2018-02-24 01:32:59 +01:00 committed by GitHub
commit 05fec82f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -410,13 +410,11 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
String s = "func " + p_name + "("; String s = "func " + p_name + "(";
if (p_args.size()) { if (p_args.size()) {
s += " ";
for (int i = 0; i < p_args.size(); i++) { for (int i = 0; i < p_args.size(); i++) {
if (i > 0) if (i > 0)
s += ", "; s += ", ";
s += p_args[i].get_slice(":", 0); s += p_args[i].get_slice(":", 0);
} }
s += " ";
} }
s += "):\n" + _get_indentation() + "pass # replace with function body\n"; s += "):\n" + _get_indentation() + "pass # replace with function body\n";