diff options
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; |