Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'drape_frontend/path_text_shape.cpp')
-rw-r--r--drape_frontend/path_text_shape.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/drape_frontend/path_text_shape.cpp b/drape_frontend/path_text_shape.cpp
index a3101b2dda..4a529a6be9 100644
--- a/drape_frontend/path_text_shape.cpp
+++ b/drape_frontend/path_text_shape.cpp
@@ -108,11 +108,11 @@ namespace
{
beg = m_spline.CreateIterator();
end = m_spline.CreateIterator();
- float const textLangth = m_layout->GetPixelLength() * m_scalePtoG;
- float const step = max(0.0f, m_splineOffset - textLangth / 2.0f);
+ float const textLength = m_layout->GetPixelLength() * m_scalePtoG;
+ float const step = max(0.0f, m_splineOffset - textLength / 2.0f);
if (step > 0.0f)
beg.Step(step);
- end.Step(step + textLangth);
+ end.Step(step + textLength);
}
private: