Browse Source

cleanup

Former-commit-id: a680527d251607d8925867ed9826bbad23564609
Former-commit-id: 06d34a2e01dc6a1ca0d757621699ee3bb473201b
Former-commit-id: 455a73c3426b690087a4eba9c81b8fe920e22280
af/merge-core
James Jackson-South 10 years ago
parent
commit
92c4170c85
  1. 2
      src/ImageProcessorCore/PixelAccessor.cs

2
src/ImageProcessorCore/PixelAccessor.cs

@ -113,7 +113,7 @@ namespace ImageProcessorCore
throw new ArgumentOutOfRangeException(nameof(y), "Value cannot be less than zero or greater than the bitmap height.");
}
#endif
return *((Color*)(this.pixelsBase + ((y * this.Width) + x) * 4));
return *((Color*)(this.pixelsBase + (((y * this.Width) + x) * 4)));
}
set

Loading…
Cancel
Save