Fix typo. Actually asserts there would be more convenient for debugging
purposes. svn-id: r15892
This commit is contained in:
parent
ca7f3814eb
commit
e92054b468
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue