test_gesture_layer: fix typo 98/142998/2
authorJaeun Choi <jaeun12.choi@samsung.com>
Tue, 8 Aug 2017 06:43:15 +0000 (15:43 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 11 Aug 2017 04:53:38 +0000 (04:53 +0000)
this typo was detected by SVACE

Change-Id: I6b005aede302598dfe1f4af7fb38199dc4371b12
origin: upstream (a9fdcc4cc2f5567fbc05ae418c4e3a4d13286f45)

src/bin/test_gesture_layer.c

index 36103ee894d1314bf4ebc9d415a5d1352bd60b85..0006e7aa1587554aad9286492d7f5d8ca6aa11a5 100644 (file)
@@ -256,7 +256,7 @@ momentum_end(void *_po, void *event_info)
            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);
      }