dot, hoa: enable "k" also for fair_kripke

* spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2016-02-03 08:46:50 +01:00
parent 2c67c68766
commit 35c8beaa3c
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@
#include <spot/misc/minato.hh>
#include <spot/twa/formula2bdd.hh>
#include <spot/tl/formula.hh>
#include <spot/kripke/kripke.hh>
#include <spot/kripke/fairkripke.hh>
namespace spot
{
@ -586,7 +586,7 @@ namespace spot
// for Kripke structures, automatically append "k" to the options.
char* tmpopt = nullptr;
if (std::dynamic_pointer_cast<const kripke>(aut))
if (std::dynamic_pointer_cast<const fair_kripke>(aut))
{
unsigned n = opt ? strlen(opt) : 0;
tmpopt = new char[n + 2];