mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[common] rects: fix return value of removeRects
This commit is contained in:
parent
2f0b97a487
commit
9d71655273
@ -70,7 +70,7 @@ inline static int removeRects(FrameDamageRect * rects, int count,
|
|||||||
rects[o-1] = rects[i];
|
rects[o-1] = rects[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cornerCompare(const void * a_, const void * b_)
|
static int cornerCompare(const void * a_, const void * b_)
|
||||||
|
Loading…
Reference in New Issue
Block a user