Re: [patch] latest cvs breaks End key in viewer



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



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