[patch] latest cvs breaks End key in viewer

Roland Illig roland.illig at gmx.de
Fri Apr 22 15:03:28 UTC 2005


Jindrich Makovicka wrote:
> +	    if ((c = get_byte (view, p)) == -1) {
> +		if (upto)
> +		    return line;
> +		else
> +		    return p;
> +	    }
> +	    

Thanks for reporting this. I have fixed the bug in current CVS (view.c, 
revision 1.230). Instead of the if ... then ... else I simply wrote:

	if ((c = get_byte (view, p)) == -1)
	    break;

which has the same effect.

Roland



More information about the mc-devel mailing list