fixed; the previous change was wrong

This commit is contained in:
ceriel 1989-02-16 11:14:22 +00:00
parent 9baa112ea1
commit 188b1df96d

View file

@ -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;
}