if(!success) break;\r
if(!cps) {\r
char *p;\r
- if(*(char**)optionList[j].target) free(*(char**)optionList[j].target);\r
- *(char**)optionList[j].target = p = text;\r
+ p = (optionList[j].type != FileName ? strdup(text) : InterpretFileName(text, homeDir)); // all files relative to homeDir!\r
+ FREE(*(char**)optionList[j].target); *(char**)optionList[j].target = p;
+ free(text); text = p;\r
while(*p++ = *text++) if(p[-1] == '\r') p--; // crush CR\r
break;\r
}\r