Skip to content
Permalink
Browse files

Fix msvc compile error again

  • Loading branch information...
LBPHacker committed Apr 2, 2019
1 parent c8df51a commit 79c5813ba3315fa7fd79c7c803149506bc8fcb4c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/simulation/Sign.cpp
@@ -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")
{

0 comments on commit 79c5813

Please sign in to comment.
You can’t perform that action at this time.