[Pinfo-devel] r189 - pinfo/trunk/src
Nathanael Nerode
neroden-guest at costa.debian.org
Wed Sep 7 02:29:35 UTC 2005
Author: neroden-guest
Date: 2005-09-07 02:29:35 +0000 (Wed, 07 Sep 2005)
New Revision: 189
Modified:
pinfo/trunk/src/mainfunction.c
Log:
Fix an off-by-one bug which affects display when moving up. Whee.
Modified: pinfo/trunk/src/mainfunction.c
===================================================================
--- pinfo/trunk/src/mainfunction.c 2005-09-07 02:28:53 UTC (rev 188)
+++ pinfo/trunk/src/mainfunction.c 2005-09-07 02:29:35 UTC (rev 189)
@@ -834,7 +834,7 @@
}
if (!cursorchanged) /* if the cursor wasn't changed */
{
- if (pos > 2) /* lower the nodepos */
+ if (pos > 1) /* lower the nodepos */
pos--;
/* and scan for a hyperlink in the new line */
for (i = 0; i < hyperobjectcount; i++)
More information about the Pinfo-devel
mailing list