summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>2011-10-26 09:31:07 +0000
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>2011-10-26 09:31:07 +0000
commit757ea6981dfc3ffbf6f7457bce5d729df32d6abf (patch)
treee8fce3989bb5d9de85a8e147ec895145bda30a4f /legacy
parent3048d95ba5d16d93103b0ca0b9026dac8e44a5a2 (diff)
elementary: fix typo
SVN revision: 64411
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_photocam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_photocam.c b/legacy/elementary/src/lib/elm_photocam.c
index b1962286cf..a79b5f6885 100644
--- a/legacy/elementary/src/lib/elm_photocam.c
+++ b/legacy/elementary/src/lib/elm_photocam.c
@@ -1487,7 +1487,7 @@ elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h __UN
1487 rx = (x * wd->size.w) / wd->size.imw; 1487 rx = (x * wd->size.w) / wd->size.imw;
1488 ry = (y * wd->size.h) / wd->size.imh; 1488 ry = (y * wd->size.h) / wd->size.imh;
1489 rw = (w * wd->size.w) / wd->size.imw; 1489 rw = (w * wd->size.w) / wd->size.imw;
1490 rh = (w * wd->size.h) / wd->size.imh; 1490 rh = (h * wd->size.h) / wd->size.imh;
1491 if (rw < 1) rw = 1; 1491 if (rw < 1) rw = 1;
1492 if (rh < 1) rh = 1; 1492 if (rh < 1) rh = 1;
1493 if ((rx + rw) > wd->size.w) rx = wd->size.w - rw; 1493 if ((rx + rw) > wd->size.w) rx = wd->size.w - rw;
@@ -1514,7 +1514,7 @@ elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h
1514 rx = (x * wd->size.w) / wd->size.imw; 1514 rx = (x * wd->size.w) / wd->size.imw;
1515 ry = (y * wd->size.h) / wd->size.imh; 1515 ry = (y * wd->size.h) / wd->size.imh;
1516 rw = (w * wd->size.w) / wd->size.imw; 1516 rw = (w * wd->size.w) / wd->size.imw;
1517 rh = (w * wd->size.h) / wd->size.imh; 1517 rh = (h * wd->size.h) / wd->size.imh;
1518 if (rw < 1) rw = 1; 1518 if (rw < 1) rw = 1;
1519 if (rh < 1) rh = 1; 1519 if (rh < 1) rh = 1;
1520 if ((rx + rw) > wd->size.w) rx = wd->size.w - rw; 1520 if ((rx + rw) > wd->size.w) rx = wd->size.w - rw;