Fix a segfault when merging rects.

This commit is contained in:
Bill Currie 2012-01-24 19:56:59 +09:00
parent d8d21b00f4
commit 695b38e5e5

View file

@ -240,6 +240,7 @@ VRect_Merge (const vrect_t *r1, const vrect_t *r2)
if (t)
u = VRect_Difference (t, r2);
if (!u) {
if (t)
VRect_Delete (t);
return merge;
}