From 40164a01d72f485864edb1ccead390724049e0c2 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Tue, 24 Jun 2025 10:23:51 +0700 Subject: [PATCH] [drape] Fix wrong reference Signed-off-by: Konstantin Pastbin --- drape_frontend/stylist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drape_frontend/stylist.cpp b/drape_frontend/stylist.cpp index 32ef71b52..ea276f730 100644 --- a/drape_frontend/stylist.cpp +++ b/drape_frontend/stylist.cpp @@ -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,