1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

update string null check

This commit is contained in:
Fraser 2025-05-27 05:02:30 +10:00
parent bd333e5e67
commit 75ec0cf269

View file

@ -5636,7 +5636,7 @@ namespace IDE.ui
} }
// Display version if there is any documented // Display version if there is any documented
if (!String.IsNullOrEmpty(docParser.mTODOString)) if (!String.IsNullOrEmpty(docParser.mVersionString))
{ {
debugExpr.AppendF("\n{}", Font.EncodeColor(0xFFC0C0C0)); debugExpr.AppendF("\n{}", Font.EncodeColor(0xFFC0C0C0));
debugExpr.Append(scope $"Version: {docParser.mVersionString}"); debugExpr.Append(scope $"Version: {docParser.mVersionString}");