Thread View: news.software.readers
1 messages
1 total messages
Started by Wayne Davison
Sun, 13 Jun 1993 18:57
Re: TRN thread following / changing code has changed in 3.0
Author: Wayne Davison
Date: Sun, 13 Jun 1993 18:57
Date: Sun, 13 Jun 1993 18:57
38 lines
2093 bytes
2093 bytes
In <1vffdj$bkf@genesis.mcs.com> Karl Denninger <karl@genesis.MCS.COM> wrote:
> I have a complaint from one of my users, and was wondering if anyone had
> ideas.
I wrote the code -- feel free to ask me. :-)
> It seems as though "trn" doesn't reliably go to the next thread if you're in
> an article and hit ">".
This is a simple problem that I'm surprised I didn't notice before. The
following patch fixes it and will appear in the next release.
.wayne..
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
Index:rthread.c
@@ -1008,8 +1008,9 @@
register SUBJECT *sp;
register ARTICLE *ap;
+ int subj_mask = (sel_mode == SM_THREAD? (SF_THREAD|SF_VISIT) : SF_VISIT);
sp = ((ap = artp) ? ap->subj->next : first_subject);
for (; sp; sp = sp->next) {
- if (sp->flags & SF_VISIT) {
+ if ((sp->flags & subj_mask) == subj_mask) {
if ((ap = subj_art(sp)) != Nullart) {
art = article_num(ap);
@@ -1033,8 +1034,9 @@
register SUBJECT *sp;
register ARTICLE *ap;
+ int subj_mask = (sel_mode == SM_THREAD? (SF_THREAD|SF_VISIT) : SF_VISIT);
sp = ((ap = artp) ? ap->subj->prev : last_subject);
for (; sp; sp = sp->prev) {
- if (sp->flags & SF_VISIT) {
+ if ((sp->flags & subj_mask) == subj_mask) {
if ((ap = subj_art(sp)) != Nullart) {
art = article_num(ap);
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads