X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fbbsview_renderer.c;h=4d3ef1be90511e7fb700225f2948a1a0b9b02c70;hb=fd034bea666febed8eff22cf10f2b72b8b009665;hp=16a76b2413bc0be0f0d9fceadaf0aedd16115cbf;hpb=1b0bd6e3be6cab717f16c1768d6afc70e8add20b;p=citadel.git diff --git a/webcit/bbsview_renderer.c b/webcit/bbsview_renderer.c index 16a76b241..4d3ef1be9 100644 --- a/webcit/bbsview_renderer.c +++ b/webcit/bbsview_renderer.c @@ -6,7 +6,7 @@ * with it, go get commit dcf99fe61379b78436c387ea3f89ebfd4ffaf635 of * bbsview_renderer.c and have fun. * - * Copyright (c) 1996-2010 by the citadel.org team + * Copyright (c) 1996-2011 by the citadel.org team * * This program is open source software. You can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -265,7 +265,7 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat, && ( (i == 0) || (BBS->msgs[i-1] <= BBS->lastseen) ) ) { /* new messages start here */ - do_template("start_of_new_msgs", NULL); + do_template("start_of_new_msgs"); StrBufAppendPrintf(WC->trailing_javascript, "location.href=\"#newmsgs\";\n"); } if (BBS->msgs[i] > 0L) { @@ -276,7 +276,7 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat, && (BBS->msgs[i] <= BBS->lastseen) ) { /* no new messages */ - do_template("no_new_msgs", NULL); + do_template("no_new_msgs"); StrBufAppendPrintf(WC->trailing_javascript, "location.href=\"#nonewmsgs\";\n"); } }