Fix a build error 07/139007/1
authorchanywa <cbible.kim@samsung.com>
Mon, 17 Jul 2017 00:21:30 +0000 (09:21 +0900)
committerchanywa <cbible.kim@samsung.com>
Mon, 17 Jul 2017 00:21:30 +0000 (09:21 +0900)
Change-Id: I6eda6009b506f60abeb976d28abfae33a9224934

src/view/poly_shape_hit_test.cpp

index 943c670..794c823 100644 (file)
@@ -95,7 +95,7 @@ bool view::poly_shape_hit_test::hit_test_segment(const float x1, const float y1,
        float y_rotated = x_shifted * sina - y_shifted * cosa;
 
        if ((x_rotated >= 0) && (x_rotated <= c)
-          && (y_rotated >= (-1. * (accuracy + (float)w / 2))
+          && (y_rotated >= (-1. * (accuracy + (float)w / 2)))
           && (y_rotated <= (accuracy + (float)w / 2)))
                return true;
        return false;