[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] NEXT_DOC & minor history bug
From: |
PBM . |
Subject: |
[Lynx-dev] NEXT_DOC & minor history bug |
Date: |
Sun, 24 Jun 2007 18:17:37 +0200 |
Why there is no by default key maped for NEXT_DOC lynx action?
Also maping alt+left arrow and alt+right arrow to PREV_DOC and
NEXT_DOC would be nice.
this fixs pushing same entry on history stack if it have only one entry
--- lynx2-8-7orig/src/LYHistory.c Sun Jun 24 18:01:56 2007
+++ lynx2-8-7x/src/LYHistory.c Sun Sep 10 23:38:39 2006
@@ -384,7 +384,7 @@
/*
* If file is identical to one before it, don't push it.
*/
- if (nhist > 1 && are_identical(&(history[nhist - 1]), doc)) {
+ if (nhist > 0 && are_identical(&(history[nhist - 1]), doc)) {
if (HDOC(nhist - 1).internal_link == doc->internal_link) {
/* But it is nice to have the last position remembered!
- kw */
- [Lynx-dev] NEXT_DOC & minor history bug,
PBM . <=