test_gesture_layer3: fix typo 23/143023/2
authorJaeun Choi <jaeun12.choi@samsung.com>
Tue, 8 Aug 2017 07:48:58 +0000 (16:48 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 11 Aug 2017 04:53:56 +0000 (04:53 +0000)
this typo was detected by SVACE

Change-Id: I3e32a058a0ddf7f4f22bac1106dc05698ff185a6
origin: upstream (52368bf463c2b5ea7b69e15a7e34b1ea13258ca1)

src/bin/test_gesture_layer3.c

index 717f5a11a16d68c99198468143995450a03ce673..09098eb8d660d967d6383faa85ad8149311759ca 100644 (file)
@@ -217,7 +217,7 @@ pic_obj_keep_inframe(void *_po)
      po->bx = 480 - (po->bw / 2);
 
    if (my < 0)
-     po->by = 0 - (po->bw / 2);
+     po->by = 0 - (po->bh / 2);
    else if (my > 800)
      po->by = 800 - (po->bh / 2);
 }