aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-21 19:00:22 -0400
committerPaul Gilbert2015-05-21 19:00:22 -0400
commit87fe6a14a069dd5cd02276c2e8e85d25117680d2 (patch)
tree1ba0786be3d3c2a0630431ab4789865bba54ade9 /engines/sherlock
parentfeff241ef7bd4552d44d1e3fa7b3e16f259ca749 (diff)
downloadscummvm-rg350-87fe6a14a069dd5cd02276c2e8e85d25117680d2.tar.gz
scummvm-rg350-87fe6a14a069dd5cd02276c2e8e85d25117680d2.tar.bz2
scummvm-rg350-87fe6a14a069dd5cd02276c2e8e85d25117680d2.zip
SHERLOCK: Correct some comments
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/scalpel/darts.cpp2
-rw-r--r--engines/sherlock/talk.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/darts.cpp b/engines/sherlock/scalpel/darts.cpp
index de93621e2f..b567d58ab4 100644
--- a/engines/sherlock/scalpel/darts.cpp
+++ b/engines/sherlock/scalpel/darts.cpp
@@ -347,7 +347,7 @@ void Darts::drawDartThrow(const Common::Point &pt) {
screen._backBuffer1.transBlitFrom(frame, drawPos);
screen.slamArea(drawPos.x, drawPos.y, frame._width, frame._height);
- // Handle erasing old dart strs
+ // Handle erasing old dart frame area
if (!oldDrawBounds.isEmpty())
screen.slamRect(oldDrawBounds);
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index bd4e8c2e78..5fbf7cc185 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -1435,7 +1435,7 @@ void Talk::doScript(const Common::String &script) {
yp += 9;
}
- // Find amound of text that will fit on the line
+ // Find amount of text that will fit on the line
int width = 0, idx = 0;
do {
width += screen.charWidth(str[idx]);