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