fixed; the previous change was wrong
authorceriel <none@none>
Thu, 16 Feb 1989 11:14:22 +0000 (11:14 +0000)
committerceriel <none@none>
Thu, 16 Feb 1989 11:14:22 +0000 (11:14 +0000)
modules/src/input/inp_pkg.body

index 39d69e0..5fef477 100644 (file)
@@ -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;
 }