Skip to content

Commit

Permalink
[Issue #11] Bugfix: Rendering of simulation step 'start state machine…
Browse files Browse the repository at this point in the history
…s' wrong.
  • Loading branch information
cepsdev committed Jan 12, 2022
1 parent 0bf760d commit 206471c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/docgen/docgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,8 @@ void ceps::docgen::Simulation::print(std::ostream& os, Doc_writer* doc_writer){
doc_writer->out(os," state machines ");
for(size_t i = 0; i < sms.size();++i){
doc_writer->out(os,sms[i]);
if (i + 1 < sms.size()){doc_writer->top().italic = false; doc_writer->out(os,", "); doc_writer->top().italic = true;}
if (i + 1 < sms.size())
doc_writer->out(os,", ");
}
doc_writer->out(os,".");
doc_writer->end_code_block(os);
Expand Down

0 comments on commit 206471c

Please sign in to comment.