From 8eb5bb08f8e62e91d0bd65fdb81654caf8adc597 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 8 Nov 2021 00:20:52 +0000 Subject: [PATCH] backend: explicitly initialize corner_radius Signed-off-by: Yuxuan Shui --- src/backend/backend_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/backend_common.c b/src/backend/backend_common.c index 0f8b06eb..464b5d93 100644 --- a/src/backend/backend_common.c +++ b/src/backend/backend_common.c @@ -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; }