diff --git a/src/ChangeLog b/src/ChangeLog index dc4a58444..85f0704c1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Koblinger Egmont + + * main.c (copy_other_pathname): Trailing slash in not always + inserted when it should be. + 2003-09-29 Andrew V. Samoilov * find.c (do_search): Use strncpy() instead if unsafe strcpy(). diff --git a/src/main.c b/src/main.c index 55b870d36..9947bb697 100644 --- a/src/main.c +++ b/src/main.c @@ -1136,7 +1136,7 @@ copy_other_pathname (void) return; command_insert (cmdline, opanel->cwd, 0); - if (cpanel->cwd[strlen (opanel->cwd) - 1] != PATH_SEP) + if (opanel->cwd[strlen (opanel->cwd) - 1] != PATH_SEP) command_insert (cmdline, PATH_SEP_STR, 0); }