mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed moreinfo hover crash with no source location
This commit is contained in:
parent
087a129007
commit
c080f1cbb1
2 changed files with 4 additions and 6 deletions
|
@ -5697,11 +5697,11 @@ namespace IDE.ui
|
|||
for (var moreInfo in bestError.mMoreInfo)
|
||||
{
|
||||
if (moreInfo.mLine != -1)
|
||||
{
|
||||
showMouseoverString.AppendF("\n@{}\t{}:{}\t{}", moreInfo.mFilePath, moreInfo.mLine, moreInfo.mColumn, moreInfo.mError);
|
||||
}
|
||||
else
|
||||
else if (moreInfo.mFilePath != null)
|
||||
showMouseoverString.AppendF("\n@{0}\t{1}\t{2}", moreInfo.mFilePath, moreInfo.mSrcStart, moreInfo.mError);
|
||||
else
|
||||
showMouseoverString.AppendF("\n{}", moreInfo.mError);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue