[common] rects: fix return value of removeRects

This commit is contained in:
Geoffrey McRae 2021-10-24 22:22:13 +11:00
parent 2f0b97a487
commit 9d71655273

View file

@ -70,7 +70,7 @@ inline static int removeRects(FrameDamageRect * rects, int count,
rects[o-1] = rects[i];
}
return 0;
return o;
}
static int cornerCompare(const void * a_, const void * b_)