aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmath.cpp
diff options
context:
space:
mode:
authorMax Horn2009-09-24 22:10:39 +0000
committerMax Horn2009-09-24 22:10:39 +0000
commit881eee810541a312b6c35dbdce4852dbf2d2f6d9 (patch)
tree9641ab3821b0d492833c801da7b29d6c19cfc5be /engines/sci/engine/kmath.cpp
parente183222df339e401242853cd731489570859f1b8 (diff)
downloadscummvm-rg350-881eee810541a312b6c35dbdce4852dbf2d2f6d9.tar.gz
scummvm-rg350-881eee810541a312b6c35dbdce4852dbf2d2f6d9.tar.bz2
scummvm-rg350-881eee810541a312b6c35dbdce4852dbf2d2f6d9.zip
SCI: Fix spelling
svn-id: r44318
Diffstat (limited to 'engines/sci/engine/kmath.cpp')
-rw-r--r--engines/sci/engine/kmath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kmath.cpp b/engines/sci/engine/kmath.cpp
index 0391316e62..180271bb78 100644
--- a/engines/sci/engine/kmath.cpp
+++ b/engines/sci/engine/kmath.cpp
@@ -129,7 +129,7 @@ reg_t kCosDiv(EngineState *s, int, int argc, reg_t *argv) {
double cosval = cos(angle * PI / 180.0);
if ((cosval < 0.0001) && (cosval > -0.0001)) {
- warning("Attepted division by zero");
+ warning("Attempted division by zero");
return make_reg(0, 0);
} else
return make_reg(0, (int16)(value / cosval));
@@ -141,7 +141,7 @@ reg_t kSinDiv(EngineState *s, int, int argc, reg_t *argv) {
double sinval = sin(angle * PI / 180.0);
if ((sinval < 0.0001) && (sinval > -0.0001)) {
- warning("Attepted division by zero");
+ warning("Attempted division by zero");
return make_reg(0, 0);
} else
return make_reg(0, (int16)(value / sinval));