Skip to content

Commit d97721f

Browse files
committed
BlockPrototype: Fix multiple arguments
1 parent 967b2f8 commit d97721f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scratch/blockprototype.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ void BlockPrototype::setProcCode(const std::string &newProcCode)
3333
if (c == '%')
3434
arg = true;
3535
else if (arg) {
36+
arg = false;
3637
switch (c) {
3738
case 's':
3839
m_argumentDefaults.push_back("");

0 commit comments

Comments
 (0)