aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
diff options
context:
space:
mode:
authorAlexandre Detiste2016-02-14 10:27:44 +0100
committerAlexandre Detiste2016-02-15 18:27:02 +0100
commit6c298e964f7352d82b13d5f60d8e5cc638176dcd (patch)
tree5e90ad2065c7fbaa86e76b82a4ba5b1fc2bb5105 /engines/sword25/util
parenta12940c0a9d67ceb3e13a0b20f50000cc18841a3 (diff)
downloadscummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.tar.gz
scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.tar.bz2
scummvm-rg350-6c298e964f7352d82b13d5f60d8e5cc638176dcd.zip
JANITORIAL: Typos detected with lintian & grep
Diffstat (limited to 'engines/sword25/util')
-rw-r--r--engines/sword25/util/lua/lbaselib.cpp2
-rw-r--r--engines/sword25/util/lua/ldo.cpp2
2 files changed, 2 insertions, 2 deletions
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);