--- psiconv/trunk/program/psiconv/gen_html4.c 2014/07/04 15:50:29 338 +++ psiconv/trunk/program/psiconv/gen_html4.c 2014/10/19 19:35:10 339 @@ -247,7 +247,7 @@ fputs("Out of memory error\n",stderr); exit(1); } - memcpy(text,para->text+charnr,len * sizeof(*text)); + memcpy(text,para->text+start,len * sizeof(*text)); text[len] = 0; characters(config,list,text,layout->layout,enc); free(text);