Re: [PATCH] "'a' and 'b' are the same file/directory" message box needs "Abort" button.
- From: Pavel Tsekov <ptsekov gmx net>
- To: Denis Vlasenko <vda linux googlemail com>
- Cc: mc-devel gnome org
- Subject: Re: [PATCH] "'a' and 'b' are the same file/directory" message box needs "Abort" button.
- Date: Sat, 19 May 2007 16:27:21 +0300 (EEST)
On Fri, 18 May 2007, Denis Vlasenko wrote:
Original code tried to prevent wrapping of very long filenames,
without much success:
- int msize = COLS - 36;
- char st[MC_MAXPATHLEN];
- strcpy (st, path_trunc (s, msize));
It doesn't work because we have _two_ filenames, and (COLS-36)*2 will
still overflow the screen. I removed this code for now.
From what I see the following line of code deals with the
problem that you describe:
msize /= 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]