Json bugfix

This commit is contained in:
Clifford Wolf 2015-03-03 09:41:41 +01:00
parent 4fc63f27a1
commit adc12ce46e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ struct JsonWriter
string &s = sigids[bit];
if (bit.wire == nullptr) {
if (bit == State::S0) s = "\"0\"";
else if (bit == State::S1) s = "\"0\"";
else if (bit == State::S1) s = "\"1\"";
else if (bit == State::Sz) s = "\"z\"";
else s = "\"x\"";
} else