Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 27, 2023
1 parent f97570f commit 49fd211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_imagingft.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ font_render(FontObject *self, PyObject *args) {
float src_alpha = (float) source[k * 4 + 3] / 255.0;
float dst_alpha = (float) target[k * 4 + 3] / 255.0;
float out_alpha = src_alpha + dst_alpha * (1.0 - src_alpha);

/* unpremultiply BGRa to RGBA */
int src_red = source[k * 4 + 0];
int src_grn = source[k * 4 + 1];
Expand Down

0 comments on commit 49fd211

Please sign in to comment.