Skip to content

Commit e09b6bb

Browse files
committed
fixup
1 parent 18c2b6e commit e09b6bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/IntersonArrayCxxImagingContainer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ class ContainerImpl
351351
System::Drawing::Bitmap^ image =
352352
gcnew System::Drawing::Bitmap(IMAGE_SIZE, IMAGE_SIZE, System::Drawing::Imaging::PixelFormat::Format8bppIndexed);
353353
WrappedImageBuilding->Build2D(image, bmode_bytedata_array, bmode_bytedata_array, WrappedScanConverter.get());
354-
System::Drawing::Imaging::BitmapData^ bmpData = image->LockBits(System::Drawing::Rectangle(0, 0, 512, 512),
354+
System::Drawing::Imaging::BitmapData^ bmpData = image->LockBits(System::Drawing::Rectangle(0, 0, IMAGE_SIZE, IMAGE_SIZE),
355355
System::Drawing::Imaging::ImageLockMode::ReadOnly,
356356
System::Drawing::Imaging::PixelFormat::Format8bppIndexed);
357357

0 commit comments

Comments
 (0)