client/Android: fix coords calculation in previous commit

This commit is contained in:
Zavadovsky Yan 2015-02-23 11:50:32 +03:00
parent 082e7b8661
commit 60c79f5450

View File

@ -132,8 +132,8 @@ void android_end_paint(rdpContext* context)
cinvalid = ctx->rdpCtx.gdi->primary->hdc->hwnd->cinvalid;
x1 = cinvalid[0].x;
y1 = cinvalid[0].x + cinvalid[0].y;
x2 = cinvalid[0].w;
y1 = cinvalid[0].y;
x2 = cinvalid[0].x + cinvalid[0].w;
y2 = cinvalid[0].y + cinvalid[0].h;
for (i = 0; i < ninvalid; i++)