From 6c298e964f7352d82b13d5f60d8e5cc638176dcd Mon Sep 17 00:00:00 2001 From: Alexandre Detiste Date: Sun, 14 Feb 2016 10:27:44 +0100 Subject: JANITORIAL: Typos detected with lintian & grep --- engines/sword25/util/lua/lbaselib.cpp | 2 +- engines/sword25/util/lua/ldo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword25/util') diff --git a/engines/sword25/util/lua/lbaselib.cpp b/engines/sword25/util/lua/lbaselib.cpp index 659c61d956..ec044970ad 100644 --- a/engines/sword25/util/lua/lbaselib.cpp +++ b/engines/sword25/util/lua/lbaselib.cpp @@ -492,7 +492,7 @@ static int costatus (lua_State *L, lua_State *co) { else return CO_SUS; /* initial state */ } - default: /* some error occured */ + default: /* some error occurred */ return CO_DEAD; } } diff --git a/engines/sword25/util/lua/ldo.cpp b/engines/sword25/util/lua/ldo.cpp index a230097f2a..d53f95adaa 100644 --- a/engines/sword25/util/lua/ldo.cpp +++ b/engines/sword25/util/lua/ldo.cpp @@ -114,7 +114,7 @@ void luaD_throw (lua_State *L, int errcode) { // LUAI_THROW has been replaced with an error message in ScummVM, together // with the LUA error code and description //LUAI_THROW(L, L->errorJmp); - error("LUA error occured, error code is %d (%s)", errcode, luaErrorDescription[errcode]); + error("LUA error occurred, error code is %d (%s)", errcode, luaErrorDescription[errcode]); } else { L->status = cast_byte(errcode); -- cgit v1.2.3