forked from organicmaps/organicmaps
[drape] crash fix MAPSME-14487
This commit is contained in:
parent
135a638873
commit
adf253e2a4
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ void GeneratePoiSymbolShape(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::Te
|
|||
PoiSymbolViewParams params(renderInfo.m_featureId);
|
||||
params.m_offset = symbolOffset;
|
||||
|
||||
if (renderInfo.m_badgeInfo->m_badgeTitleIndex)
|
||||
if (renderInfo.m_badgeInfo != nullptr && renderInfo.m_badgeInfo->m_badgeTitleIndex)
|
||||
{
|
||||
size_t const badgeTitleIndex = *renderInfo.m_badgeInfo->m_badgeTitleIndex;
|
||||
CHECK_LESS(badgeTitleIndex, renderInfo.m_titleDecl->size(), ());
|
||||
|
|
Loading…
Add table
Reference in a new issue