From 188b1df96df2a15581927b7f9893d9d9c7dd8b56 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 16 Feb 1989 11:14:22 +0000 Subject: [PATCH] fixed; the previous change was wrong --- modules/src/input/inp_pkg.body | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/src/input/inp_pkg.body b/modules/src/input/inp_pkg.body index 39d69e066..5fef47714 100644 --- a/modules/src/input/inp_pkg.body +++ b/modules/src/input/inp_pkg.body @@ -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; }