Changeset - r23796:8cda3dcb7de8
[Not reviewed]
master
0 1 0
nikolas - 5 years ago 2019-08-07 19:15:53
nikolas@gnu.org
Fix: typo in ScriptList::Valuate param error (#7687)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_list.cpp
Show inline comments
 
@@ -845,7 +845,7 @@ SQInteger ScriptList::Valuate(HSQUIRRELV
 
	int nparam = sq_gettop(vm) - 1;
 

	
 
	if (nparam < 1) {
 
		return sq_throwerror(vm, "You need to give a least a Valuator as parameter to ScriptList::Valuate");
 
		return sq_throwerror(vm, "You need to give at least a Valuator as parameter to ScriptList::Valuate");
 
	}
 

	
 
	/* Make sure the valuator function is really a function, and not any
0 comments (0 inline, 0 general)