From: chanywa Date: Mon, 17 Jul 2017 00:21:30 +0000 (+0900) Subject: Fix a build error X-Git-Tag: submit/tizen/20170718.234709~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F139007%2F1;p=platform%2Fcore%2Fapi%2Fmaps-service.git Fix a build error Change-Id: I6eda6009b506f60abeb976d28abfae33a9224934 --- diff --git a/src/view/poly_shape_hit_test.cpp b/src/view/poly_shape_hit_test.cpp index 943c670..794c823 100644 --- a/src/view/poly_shape_hit_test.cpp +++ b/src/view/poly_shape_hit_test.cpp @@ -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;