print: fix str_sere() and str_utf8_sere(), as found by PVS-Studio
These were not actually printing in "SERE" mode due to a copy/paste error. PVS-Studio seems really good at finding those. For #192. * spot/tl/print.cc: Fix it. * NEWS: Mention the bug.
This commit is contained in:
parent
24d19a6703
commit
a5fb5784f6
2 changed files with 5 additions and 2 deletions
|
|
@ -893,7 +893,7 @@ namespace spot
|
|||
std::string
|
||||
str_sere(formula f, bool full_parent)
|
||||
{
|
||||
return str_(f, full_parent, false, spot_kw);
|
||||
return str_(f, full_parent, true, spot_kw);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -918,7 +918,7 @@ namespace spot
|
|||
std::string
|
||||
str_utf8_sere(formula f, bool full_parent)
|
||||
{
|
||||
return str_(f, full_parent, false, utf8_kw);
|
||||
return str_(f, full_parent, true, utf8_kw);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue