diff options
author | danglassey <danglassey> | 2002-10-22 13:01:49 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-10-22 13:01:49 +0000 |
commit | caba6ff484a20e8ddc2d4912f0edbbe9f926499c (patch) | |
tree | ad16d42b45ac7d4ff93e63b95a4b273122dbc7fb /src/modules | |
parent | d16a90fac71b7e403549e78d0f14d4de9ad65111 (diff) | |
download | sword-sf-cvs-caba6ff484a20e8ddc2d4912f0edbbe9f926499c.tar.gz |
sync with crosswire 20021022-1300
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/comments/rawcom/rawcom.cpp | 3 | ||||
-rw-r--r-- | src/modules/comments/zcom/zcom.cpp | 3 | ||||
-rw-r--r-- | src/modules/texts/rawtext/rawtext.cpp | 3 | ||||
-rw-r--r-- | src/modules/texts/ztext/ztext.cpp | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/modules/comments/rawcom/rawcom.cpp b/src/modules/comments/rawcom/rawcom.cpp index c9cfcd5..75904eb 100644 --- a/src/modules/comments/rawcom/rawcom.cpp +++ b/src/modules/comments/rawcom/rawcom.cpp @@ -112,7 +112,8 @@ void RawCom::increment(int steps) { findoffset(tmpkey->Testament(), index, &start, &size); if ( (((laststart != start) || (lastsize != size)) // we're a different entry - && (start > 0) && (size)) // and we actually have a size +// && (start > 0) + && (size)) // and we actually have a size ||(!skipConsecutiveLinks)) { // or we don't want to skip consecutive links steps += (steps < 0) ? 1 : -1; lastgood = *tmpkey; diff --git a/src/modules/comments/zcom/zcom.cpp b/src/modules/comments/zcom/zcom.cpp index b3a10de..cb47e23 100644 --- a/src/modules/comments/zcom/zcom.cpp +++ b/src/modules/comments/zcom/zcom.cpp @@ -182,7 +182,8 @@ void zCom::increment(int steps) { findoffset(tmpkey->Testament(), index, &start, &size); if ( (((laststart != start) || (lastsize != size)) // we're a different entry - && (start > 0) && (size)) // and we actually have a size +// && (start > 0) + && (size)) // and we actually have a size ||(!skipConsecutiveLinks)) { // or we don't want to skip consecutive links steps += (steps < 0) ? 1 : -1; lastgood = *tmpkey; diff --git a/src/modules/texts/rawtext/rawtext.cpp b/src/modules/texts/rawtext/rawtext.cpp index ef7742a..1b1171a 100644 --- a/src/modules/texts/rawtext/rawtext.cpp +++ b/src/modules/texts/rawtext/rawtext.cpp @@ -542,7 +542,8 @@ void RawText::increment(int steps) { findoffset(tmpkey->Testament(), index, &start, &size); if ( (((laststart != start) || (lastsize != size)) // we're a different entry - && (start > 0) && (size)) // and we actually have a size +// && (start > 0) + && (size)) // and we actually have a size ||(!skipConsecutiveLinks)) { // or we don't want to skip consecutive links steps += (steps < 0) ? 1 : -1; lastgood = *tmpkey; diff --git a/src/modules/texts/ztext/ztext.cpp b/src/modules/texts/ztext/ztext.cpp index 00793c2..0867d8a 100644 --- a/src/modules/texts/ztext/ztext.cpp +++ b/src/modules/texts/ztext/ztext.cpp @@ -189,7 +189,8 @@ void zText::increment(int steps) { if ( (((laststart != start) || (lastsize != size)) // we're a different entry - && (start > 0) && (size)) // and we actually have a size +// && (start > 0) + && (size)) // and we actually have a size ||(!skipConsecutiveLinks)) { // or we don't want to skip consecutive links steps += (steps < 0) ? 1 : -1; lastgood = *tmpkey; |