[common] rects: fix return value of removeRects
This commit is contained in:
1 parent
2f0b97a487
commit
9d71655273
1 file changed
+1
-1
+1
-1
@@ -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_)
|
||||
|
||||
Reference in new issue
Block a user