z80 library paths may contain '.' now (better fix)
[fw/sdcc] / link / z80 / lklibr.c
index dac07b42d9666e131fefa24bd688def7ac7d1738..1c8c5cabebdbdb52c4ba4fd7fcefb3a0feee3cfc 100644 (file)
@@ -658,7 +658,7 @@ char *name;
                    } else {
                        strcat(str,relfil);
                    }
-                   if(strchr(str,FSEPX) == NULL) {
+                   if(strchr(relfil,FSEPX) == NULL) {
 #ifdef SDK
                        sprintf(&str[strlen(str)], "%co", FSEPX);
 #else /* SDK */