[drape] Fix wrong reference

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-06-24 10:23:51 +07:00
parent d6478a0b4d
commit 40164a01d7

View File

@@ -76,7 +76,7 @@ void CaptionDescription::Init(FeatureType & f, int8_t deviceLang, int zoomLevel,
// Set max text length to avoid VB/IB overflow in rendering.
size_t constexpr kMaxTextLength = 65;
if (strings::Truncate(&m_mainText, kMaxTextLength))
if (strings::Truncate(m_mainText, kMaxTextLength))
m_mainText += "";
// TODO(pastk) : its better to determine housenumbers minZoom once upon drules load and cache it,