changeset 28:e81e5189af24

Fixed the NAV_TOP_UIDX macro.
author jcid
date Fri, 02 Nov 2007 23:27:33 +0100
parents 52953eeba59d
children a6d821f4ac96
files src/nav.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/nav.c	Fri Nov 02 22:47:36 2007 +0100
+++ b/src/nav.c	Fri Nov 02 23:27:33 2007 +0100
@@ -70,7 +70,7 @@
 {
    nav_stack_item *nsi;
 
-   nsi = dList_nth_data (bw->nav_stack, a_Nav_stack_size(bw) - 1);
+   nsi = dList_nth_data (bw->nav_stack, a_Nav_stack_ptr(bw));
    return (nsi) ? nsi->url_idx : -1;
 }