} else {
strcat(str,relfil);
}
- if(strchr(str,FSEPX) == NULL) {
+ if(strchr(relfil, FSEPX) == NULL) {
#ifdef SDK
sprintf(&str[strlen(str)], "%co", FSEPX);
#else /* SDK */
} else {
strcat(str,relfil);
}
- if(strchr(relfil,FSEPX) == NULL) {
+ if(strchr(relfil, FSEPX) == NULL) {
#ifdef SDK
sprintf(&str[strlen(str)], "%co", FSEPX);
#else /* SDK */