^X^P sometimes doesn't put trailing slash
- From: Koblinger Egmont <egmont uhulinux hu>
- To: mc-devel gnome org
- Subject: ^X^P sometimes doesn't put trailing slash
- Date: Sat, 23 Aug 2003 23:57:08 +0200 (CEST)
Hi,
^X^P doesn't put a trailing slash under certain circumstances, e.g. if
you're in /tmp/asdf/x while the other panel is /tmp/foo/x.
The bug is in main.c copy_other_pathname():
command_insert (cmdline, opanel->cwd, 0);
if (cpanel->cwd[strlen (opanel->cwd) - 1] != PATH_SEP)
^^^^^^
command_insert (cmdline, PATH_SEP_STR, 0);
that one should be opanel, too.
bye,
Egmont
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]