Re: GNU Midnight Commander 4.6.2-pre1



On Sat, 29 Sep 2007 20:58:13 +0100 Denys Vlasenko <vda linux googlemail com> wrote:
> 
> I found the following issues:
> 
> 
> Alt-O behavior changes for the worse:
> 
> 4.6.1: make inactive panel show the same dir as active one
> 
> 4.6.2: make inactive panel show the .. if we stand on non directory
>        or directory we stand on.
> 
> I find 4.6.1 behavior more consistent and useful.

Alt-I in 4.6.2 works as Alt-O in 4.6.1.

> 
> I sent a patch which fixes this by adding [skip] and [abort] buttons.
> In case it was missed, I attach it again now. Applies with some offsets,
> run-tested.

The following code

    char *msg = g_strconcat(fmt, a, b, (char *)NULL);

is short and clearly than the following one:

    char *msg;
    int n = strlen(fmt) + strlen(a) + strlen(b) + 1;
    msg = malloc(n);
    snprintf(msg, n, fmt, a, b);


Regards,
Andrew



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]