elementary: photocam fix region get, here x and y can be negative

SVN revision: 66328
This commit is contained in:
Michael BOUCHAUD 2011-12-19 10:06:32 +00:00
parent a5f7da8e7a
commit 631ed501c5
1 changed files with 0 additions and 2 deletions

View File

@ -1483,7 +1483,6 @@ elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
{
*x = (wd->size.imw * sx) / wd->size.w;
if (*x > wd->size.imw) *x = wd->size.imw;
else if (*x < 0) *x = 0;
}
if (w)
{
@ -1504,7 +1503,6 @@ elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
{
*y = (wd->size.imh * sy) / wd->size.h;
if (*y > wd->size.imh) *y = wd->size.imh;
else if (*y < 0) *y = 0;
}
if (h)
{