From 9de597b0c18de5ec573bea6441c79605afebe6c5 Mon Sep 17 00:00:00 2001 From: project-repo Date: Fri, 19 Feb 2021 14:25:13 +0100 Subject: [PATCH] Fix bug in surface counting iterator --- output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output.c b/output.c index 42ed10e..6ec3c11 100644 --- a/output.c +++ b/output.c @@ -207,7 +207,7 @@ static void count_surface_iterator(struct cg_output *output, struct wlr_surface *surface, struct wlr_box *_box, void *data) { size_t *n = data; - n++; + (*n)++; } static bool