diff options
Diffstat (limited to 'src/cmd_manipulate.cc')
-rw-r--r-- | src/cmd_manipulate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_manipulate.cc b/src/cmd_manipulate.cc index 2dff5e1..b221c1f 100644 --- a/src/cmd_manipulate.cc +++ b/src/cmd_manipulate.cc @@ -201,7 +201,7 @@ namespace cmd { std::ifstream in(tmp); std::string newText(std::istreambuf_iterator<char>{in}, {}); e->setText(newText); - utils::saveJson(*e, p); + utils::saveJson(e->serialize(), p); return ""; } |