Re: [patch] latest cvs breaks End key in viewer
- From: Roland Illig <roland illig gmx de>
- To: Jindrich Makovicka <makovick kmlinux fjfi cvut cz>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [patch] latest cvs breaks End key in viewer
- Date: Fri, 22 Apr 2005 17:03:28 +0200
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]