mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix typo
This commit is contained in:
@@ -453,7 +453,7 @@ void ImageLoader::init(QPoint SpriteSize, QPoint Margins, QPoint FullSize)
|
|||||||
memset((void *)image->bits(), 0, fullSize.y() * image->bytesPerLine());
|
memset((void *)image->bits(), 0, fullSize.y() * image->bytesPerLine());
|
||||||
|
|
||||||
lineStart = image->bits();
|
lineStart = image->bits();
|
||||||
lineStart += margins.y() * image->bytesPerLine + margins.x();
|
lineStart += margins.y() * image->bytesPerLine() + margins.x();
|
||||||
position = lineStart;
|
position = lineStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user