Fix incorrect variable check.

When using swapping (double/triple), and we go to merge rectangles,
then we should check for a valid triple buffer (not double) before
trying to merge the 3rd buffer rectangles.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
This commit is contained in:
Christopher Michael 2013-02-27 10:17:55 +00:00
parent 8e3671eab7
commit 2fb518a691
1 changed files with 1 additions and 1 deletions

View File

@ -959,7 +959,7 @@ _merge_rects(Tilebuf *tb, Tilebuf_Rect *r1, Tilebuf_Rect *r2, Tilebuf_Rect *r3)
evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);
}
}
if (r2)
if (r3)
{
EINA_INLIST_FOREACH(EINA_INLIST_GET(r3), r)
{