[common] rects: fix return value of removeRects

This commit is contained in:
Geoffrey McRae committed 2021-10-24 22:22:13 +11:00
1 parent 2f0b97a487
commit 9d71655273
1 file changed
+1 -1
+1 -1
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_)