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;
|
||||
*newname = dst;
|
||||
if (*dir) {
|
||||
while (*dst++ = *dir++);
|
||||
*--dst = '/';
|
||||
while (*dst++ = *dir++) ;
|
||||
*(dst-1) = '/';
|
||||
}
|
||||
while (*++dst = *file++);
|
||||
while (*dst++ = *file++);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue