diff --git a/drape_frontend/path_text_shape.cpp b/drape_frontend/path_text_shape.cpp index e1e2105191..f8ac3ce198 100644 --- a/drape_frontend/path_text_shape.cpp +++ b/drape_frontend/path_text_shape.cpp @@ -70,7 +70,7 @@ public: pos = screen.GtoP(pos); if (!screen.PixelRect().IsPointInside(pos)) { - if (foundOffset = CalculateOffsets(pixelSpline, startIndex, pixelOffset)) + if ((foundOffset = CalculateOffsets(pixelSpline, startIndex, pixelOffset))) break; pixelSpline = m2::Spline(m_spline->GetSize());