Skip to content

Commit c9c7f02

Browse files
committed
Fix formatting
1 parent b25d313 commit c9c7f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/bitmaptools/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,10 +894,10 @@ void common_hal_bitmaptools_alphablend(displayio_bitmap_t *dest, displayio_bitma
894894
pixel = (blend / (256 * ifactor1 + 256 * ifactor2 - ifactor1 * ifactor2));
895895
} else if (blend_source1) {
896896
// Apply iFactor1 to source1 only
897-
pixel = *sptr1++ *ifactor1 / 256;
897+
pixel = *sptr1++ * ifactor1 / 256;
898898
} else if (blend_source2) {
899899
// Apply iFactor2 to source1 only
900-
pixel = *sptr2++ *ifactor2 / 256;
900+
pixel = *sptr2++ * ifactor2 / 256;
901901
} else {
902902
// Use the destination value
903903
pixel = *dptr;

0 commit comments

Comments
 (0)