fixed; the previous change was wrong
This commit is contained in:
parent
9baa112ea1
commit
188b1df96d
|
@ -234,10 +234,10 @@ INP_mk_filename(dir, file, newname)
|
||||||
if (!dst) return 0;
|
if (!dst) return 0;
|
||||||
*newname = dst;
|
*newname = dst;
|
||||||
if (*dir) {
|
if (*dir) {
|
||||||
while (*dst++ = *dir++);
|
while (*dst++ = *dir++) ;
|
||||||
*--dst = '/';
|
*(dst-1) = '/';
|
||||||
}
|
}
|
||||||
while (*++dst = *file++);
|
while (*dst++ = *file++);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue