bbsview_renderer 'go to page' links now use start_reading_at= instead of page= in...
authorArt Cancro <ajc@uncensored.citadel.org>
Wed, 14 Sep 2011 16:24:53 +0000 (12:24 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Wed, 14 Sep 2011 16:24:53 +0000 (12:24 -0400)
webcit/bbsview_renderer.c

index 03d70ef2bd44accfea1a6f4ecbcc372a6179fca6..cb8527f03f33bca960266590af34721d3a9b4b96 100644 (file)
@@ -345,7 +345,10 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat,
                                        else {
                                                wc_printf("<a href=\"readfwd?go=");
                                                urlescputs(ChrPtr(WC->CurRoom.name));
-                                               wc_printf("?page=%d\">", i);
+                                               wc_printf("?start_reading_at=%ld\">",
+                                                       BBS->msgs[i*Stat->maxmsgs]
+                                               );
+                                               /* wc_printf("?page=%d\">", i); */
                                                wc_printf("<span class=\"moreprompt_link\">");
                                        }
                                        if (