Try copy empty string in pan_str
Code:
editor_list = txt_create(10,12);

str_cpy(pan_str,""); //copy empty string

int i;



A7 Commercial cool
Celeron 1700, GeForce 5500 FX 256mb, 1 Gb Ram