Changeset - r22366:969fbc66a51e
[Not reviewed]
master
0 2 0
matthijs - 9 years ago 2016-05-11 21:28:39
matthijs@openttd.org
(svn r27561) -Fix [Squirrel]: Fix typos in error messages
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
Show inline comments
 
@@ -119,10 +119,10 @@ static SQInteger _sqstd_aux_printerror(H
 
		const SQChar *sErr = 0;
 
		if(sq_gettop(v)>=1) {
 
			if(SQ_SUCCEEDED(sq_getstring(v,2,&sErr)))	{
 
				pf(v,"\nAN ERROR HAS OCCURED [%s]\n",sErr);
 
				pf(v,"\nAN ERROR HAS OCCURRED [%s]\n",sErr);
 
			}
 
			else{
 
				pf(v,"\nAN ERROR HAS OCCURED [unknown]\n");
 
				pf(v,"\nAN ERROR HAS OCCURRED [unknown]\n");
 
			}
 
			sqstd_printcallstack(v);
 
		}
src/3rdparty/squirrel/squirrel/sqdebug.cpp
Show inline comments
 
@@ -105,7 +105,7 @@ void SQVM::Raise_IdxError(const SQObject
 
void SQVM::Raise_CompareError(const SQObject &o1, const SQObject &o2)
 
{
 
	SQObjectPtr oval1 = PrintObjVal(o1), oval2 = PrintObjVal(o2);
 
	Raise_Error("comparsion between '%.50s' and '%.50s'", _stringval(oval1), _stringval(oval2));
 
	Raise_Error("comparison between '%.50s' and '%.50s'", _stringval(oval1), _stringval(oval2));
 
}
 

	
 

	
0 comments (0 inline, 0 general)