]> code.citadel.org Git - citadel.git/commitdiff
* messages.c: fix off-by-one-error in selector bar
authorMichael Hampton <io_error@uncensored.citadel.org>
Tue, 12 Aug 2003 18:54:03 +0000 (18:54 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Tue, 12 Aug 2003 18:54:03 +0000 (18:54 +0000)
webcit/ChangeLog
webcit/messages.c

index 6b1d1bfd547a3237669370a202e7ad94b7aa3203..6648f2ef9d5bf20c406f656b2a02c927ab65e95e 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 500.17  2003/08/12 18:54:03  error
+* messages.c: fix off-by-one-error in selector bar
+
 Revision 500.16  2003/08/07 22:18:03  ajc
 * Add the Summary Page to the customizable iconbar
 
@@ -1551,3 +1554,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 67ee5a07f8ffefcb8cae22d794ae3602460d642b..452e1f1c8beed28c2f96616eece82259ed34fb19 100644 (file)
@@ -927,7 +927,7 @@ void readloop(char *oper)
 
                for (b=0; b<nummsgs; b = b + maxmsgs) {
                lo = b+1;
-               hi = b+maxmsgs+1;
+               hi = b+maxmsgs;
                if (hi > nummsgs) hi = nummsgs;
                        if (WC->msgarr[b] != startmsg) {
                                wprintf("<A HREF=\"/%s"