fix crash in hex editor when rightclicking address with empty symbolic name

This commit is contained in:
zeromus 2017-12-04 02:19:17 +00:00
parent c7df3a0123
commit 9cd3ac5353
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ void UpdateCaption()
// when watching RAM we may as well see Symbolic Debug names
loadNameFiles();
Name* node = findNode(getNamesPointerForAddress(CursorStartAddy), CursorStartAddy);
if (node)
if (node && node->name)
{
strcat(str, " - ");
strcat(str, node->name);