aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2004-11-26 00:56:42 +0000
committerEugene Sandulenko2004-11-26 00:56:42 +0000
commite92054b46844ffeb058eff1d02b93f1a2012e611 (patch)
tree86142f39b95724a031405fbc9e63231e7b5408cc /graphics
parentca7f3814eb88cbc8e3273ac823f7c914d4caab3f (diff)
downloadscummvm-rg350-e92054b46844ffeb058eff1d02b93f1a2012e611.tar.gz
scummvm-rg350-e92054b46844ffeb058eff1d02b93f1a2012e611.tar.bz2
scummvm-rg350-e92054b46844ffeb058eff1d02b93f1a2012e611.zip
Fix typo. Actually asserts there would be more convenient for debugging
purposes. svn-id: r15892
Diffstat (limited to 'graphics')
-rw-r--r--graphics/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/surface.cpp b/graphics/surface.cpp
index afd47e9d29..aa920fa99c 100644
--- a/graphics/surface.cpp
+++ b/graphics/surface.cpp
@@ -107,7 +107,7 @@ void Surface::fillRect(const Common::Rect &rOld, uint32 color) const {
ptr += pitch/2;
}
} else {
- error("Surface::vLine: bytesPerPixel must be 1 or 2");
+ error("Surface::fillRect: bytesPerPixel must be 1 or 2");
}
}