Skip to content

Commit

Permalink
backend: explicitly initialize corner_radius
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Nov 8, 2021
1 parent a078b2f commit da909b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/backend_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ struct backend_image *default_new_backend_image(int w, int h) {
ret->eheight = h;
ret->ewidth = w;
ret->color_inverted = false;
ret->corner_radius = 0;
return ret;
}

Expand Down

0 comments on commit da909b7

Please sign in to comment.