mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-05-31 20:42:43 -05:00
handle null text in tooltips
This commit is contained in:
parent
f94eeb38df
commit
386f52d2bd
|
|
@ -123,7 +123,7 @@ namespace HavenSoft.HexManiac.Core.Models.Runs {
|
|||
}
|
||||
|
||||
if (segment.Length > 0) {
|
||||
text.Append(segment.ToText(data, offset, deep).Trim());
|
||||
text.Append(segment.ToText(data, offset, deep)?.Trim() ?? string.Empty);
|
||||
if (j + 1 < self.ElementContent.Count) text.Append(", ");
|
||||
offset += segment.Length;
|
||||
length -= segment.Length;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user