Fixed bug when writing predicates in view file
This commit is contained in:
@ -1777,7 +1777,7 @@ int obi_save_and_close_view(Obiview_p view)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// TODO check size and grow file if needed
|
// TODO check size and grow file if needed
|
||||||
strcpy((view->infos)->comments, predicates);
|
strcat((view->infos)->comments, predicates);
|
||||||
free(predicates);
|
free(predicates);
|
||||||
}
|
}
|
||||||
if (obi_save_view(view) < 0)
|
if (obi_save_view(view) < 0)
|
||||||
|
Reference in New Issue
Block a user