aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-25 23:13:55 +1000
committerPaul Gilbert2012-05-25 23:13:55 +1000
commit839527a9553e94234a1eb802648a4ed64e926a5c (patch)
tree61f5fdd9f5a16ba14d57a5d43451d046e5334959 /common
parent4719fd99007df8b4e20b93484a2229e32aed6261 (diff)
downloadscummvm-rg350-839527a9553e94234a1eb802648a4ed64e926a5c.tar.gz
scummvm-rg350-839527a9553e94234a1eb802648a4ed64e926a5c.tar.bz2
scummvm-rg350-839527a9553e94234a1eb802648a4ed64e926a5c.zip
COMMON: Fix method error messages
Diffstat (limited to 'common')
-rw-r--r--common/coroutines.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/coroutines.cpp b/common/coroutines.cpp
index 4a45f2ec23..aff13a5494 100644
--- a/common/coroutines.cpp
+++ b/common/coroutines.cpp
@@ -433,7 +433,7 @@ void CoroutineScheduler::waitForSingleObject(CORO_PARAM, int pid, uint32 duratio
void CoroutineScheduler::waitForMultipleObjects(CORO_PARAM, int nCount, uint32 *pidList, bool bWaitAll,
uint32 duration, bool *expired) {
if (!pCurrent)
- error("Called CoroutineScheduler::waitForMultipleEvents from the main process");
+ error("Called CoroutineScheduler::waitForMultipleObjects from the main process");
CORO_BEGIN_CONTEXT;
uint32 endTime;
@@ -505,7 +505,7 @@ void CoroutineScheduler::waitForMultipleObjects(CORO_PARAM, int nCount, uint32 *
*/
void CoroutineScheduler::sleep(CORO_PARAM, uint32 duration) {
if (!pCurrent)
- error("Called CoroutineScheduler::waitForSingleObject from the main process");
+ error("Called CoroutineScheduler::sleep from the main process");
CORO_BEGIN_CONTEXT;
uint32 endTime;