mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[drape] Fix wrong reference
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user