Fixed bug when writing predicates in view file

This commit is contained in:
Celine Mercier committed 2016-08-11 17:30:09 +02:00
1 parent d3c58780a0
commit 5b7917bb5a
1 file changed
+1 -1
+1 -1
View File
@@ -1777,7 +1777,7 @@ int obi_save_and_close_view(Obiview_p view)
else
{
// TODO check size and grow file if needed
strcpy((view->infos)->comments, predicates);
strcat((view->infos)->comments, predicates);
free(predicates);
}
if (obi_save_view(view) < 0)