mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
Fix count_surface_iterator
This increments the pointer value, not the actual count. References: https://github.com/Hjdskes/cage/issues/176
This commit is contained in:
parent
1a3ab3eb3a
commit
b21f9c6322
1 changed files with 1 additions and 1 deletions
2
output.c
2
output.c
|
|
@ -185,7 +185,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue