account for vertical multi-monitor layouts with screenshots

ticket #1157


SVN revision: 76192
This commit is contained in:
Mike Blumenkrantz 2012-09-05 11:55:12 +00:00
parent 23dfbb7468
commit 765c24f6c6
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ _save_to(const char *file)
sstd = evas_object_image_stride_get(o_img);
dst = evas_object_image_data_get(o, EINA_TRUE);
d = dst;
for (y = 0; y < z->h; y++)
for (y = z->y; y < z->y + z->h; y++)
{
s = src + (sstd * y) + (z->x * 4);
memcpy(d, s, z->w * 4);