aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-10-22 13:01:49 +0000
committerdanglassey <danglassey>2002-10-22 13:01:49 +0000
commitcaba6ff484a20e8ddc2d4912f0edbbe9f926499c (patch)
treead16d42b45ac7d4ff93e63b95a4b273122dbc7fb /src/modules
parentd16a90fac71b7e403549e78d0f14d4de9ad65111 (diff)
downloadsword-sf-cvs-caba6ff484a20e8ddc2d4912f0edbbe9f926499c.tar.gz
sync with crosswire 20021022-1300
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/comments/rawcom/rawcom.cpp3
-rw-r--r--src/modules/comments/zcom/zcom.cpp3
-rw-r--r--src/modules/texts/rawtext/rawtext.cpp3
-rw-r--r--src/modules/texts/ztext/ztext.cpp3
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;