Hi!

The following quote is taken from : txt_create(var strings, var layer)
Quote:

Example (lite-C):
TEXT* mytext;
...
mytext = txt_create(10,0);
...
// remove the strings of the text

int i;for (i = 0; i < mytext-> strings ; i++)
if ((mytext->pstring)[i])
ptr_remove((mytext->pstring)[i]);
ptr_remove(mytext);


Should line

int i;for (i = 0; i < mytext->strings; i++)

be

int i;for (i = 0; i < mytext->pstrings; i++)


Ottawa smile


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C