aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorlukaslw2014-08-01 17:44:39 +0200
committerlukaslw2014-08-01 17:44:39 +0200
commitd902842f7e76ca3b719d3a213c71cac47c25cdcd (patch)
tree4fcc21ffb41181516f72c585aa8228f98ae26572 /engines
parent3c29d61f6705a6f05d86fa2599a6992d2d17e3ac (diff)
downloadscummvm-rg350-d902842f7e76ca3b719d3a213c71cac47c25cdcd.tar.gz
scummvm-rg350-d902842f7e76ca3b719d3a213c71cac47c25cdcd.tar.bz2
scummvm-rg350-d902842f7e76ca3b719d3a213c71cac47c25cdcd.zip
PRINCE: Cursor - typo fix
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/cursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/prince/cursor.cpp b/engines/prince/cursor.cpp
index c09fe43bfc..38b5be3bca 100644
--- a/engines/prince/cursor.cpp
+++ b/engines/prince/cursor.cpp
@@ -40,12 +40,12 @@ Cursor::~Cursor() {
bool Cursor::loadFromStream(Common::SeekableReadStream &stream) {
stream.skip(4);
uint16 width = stream.readUint16LE();
- uint16 heigth = stream.readUint16LE();
+ uint16 height = stream.readUint16LE();
_surface = new Graphics::Surface();
- _surface->create(width, heigth, Graphics::PixelFormat::createFormatCLUT8());
+ _surface->create(width, height, Graphics::PixelFormat::createFormatCLUT8());
- for (int h = 0; h < heigth; h++) {
+ for (int h = 0; h < height; h++) {
stream.read(_surface->getBasePtr(0, h), width);
}
return true;