* fix preview_pane scroll memory bug
[citadel.git] / webcit / msg_renderers.c
index ab1be43c7cb2a8ab4392f6ae9dec34e22b66a299..68655ad537c45a8cd1c247b1d43159de2822efcd 100644 (file)
@@ -414,6 +414,7 @@ int Conditional_ROOM_DISPLAY_MSG(StrBuf *Target, WCTemplputParams *TP) {
        IterateStruct *ITC = CCTX;
        int num_inset = ITC->n;
        if ((num_inset >= WC->startmsg) && (WCC->num_displayed <= WCC->maxmsgs)) {
+
        WCC->num_displayed = WCC->num_displayed+1;
        return 1; /* Pass GO, collect $200 */
        }