Fix typo. Actually asserts there would be more convenient for debugging

purposes.

svn-id: r15892
This commit is contained in:
Eugene Sandulenko 2004-11-26 00:56:42 +00:00
parent ca7f3814eb
commit e92054b468

View File

@ -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");
}
}