Fix msvc compile error again
This commit is contained in:
parent
c8df51a8b3
commit
79c5813ba3
@ -116,11 +116,11 @@ String sign::getText(Simulation *sim)
|
||||
}
|
||||
else if (between_curlies == "type")
|
||||
{
|
||||
formatted_text << (part ? sim->BasicParticleInfo(*part) : (formatted_text.Size() ? "empty" : "Empty"));
|
||||
formatted_text << (part ? sim->BasicParticleInfo(*part) : (formatted_text.Size() ? String::Build("empty") : String::Build("Empty")));
|
||||
}
|
||||
else if (between_curlies == "ctype")
|
||||
{
|
||||
formatted_text << (part ? ((part->ctype && sim->IsValidElement(part->ctype)) ? sim->ElementResolve(part->ctype, -1) : String::Build(part->ctype)) : (formatted_text.Size() ? "empty" : "Empty"));
|
||||
formatted_text << (part ? ((part->ctype && sim->IsValidElement(part->ctype)) ? sim->ElementResolve(part->ctype, -1) : String::Build(part->ctype)) : (formatted_text.Size() ? String::Build("empty") : String::Build("Empty")));
|
||||
}
|
||||
else if (between_curlies == "life")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user