Changeset 7265 for code/branches/consolecommands3/src/libraries/core
- Timestamp:
- Aug 30, 2010, 1:19:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/command/Executor.cc
r7230 r7265 67 67 } 68 68 69 COUT(5) << "Executor::parse: \"" << arguments.join(delimiter) << "\" -> " << paramCount << " params: " << param[0] << " / " << param[1] << " / " << param[2] << " / " << param[3] << " / " << param[4] << std::endl; 70 69 71 switch (paramCount) 70 72 { … … 96 98 97 99 // assign all given arguments to the multitypes 98 for (unsigned int i = 0; i < std::min( argumentCount, MAX_FUNCTOR_ARGUMENTS); i++)100 for (unsigned int i = 0; i < std::min(std::min(argumentCount, paramCount), MAX_FUNCTOR_ARGUMENTS); i++) 99 101 param[i] = arguments[i]; 100 102
Note: See TracChangeset
for help on using the changeset viewer.