* print the header of the tab into the comment before the tab starts.
[citadel.git] / webcit / subst.c
index ee0e324e726bafe5cd84db4083d9f5ff5f72b6b1..02d9fa550b02b3a226eda089bd4c7b009d35a550 100644 (file)
@@ -2741,7 +2741,7 @@ void tmpl_do_tabbed(StrBuf *Target, WCTemplputParams *TP)
 
        StrTabbedDialog(Target, nTabs, TabNames);
        for (i = 0; i < ntabs; i++) {
-               StrBeginTab(Target, i, nTabs);
+               StrBeginTab(Target, i, nTabs, TabNames);
                DoTemplate(TKEY(i * 2 + 1), Target, TP);
                StrEndTab(Target, i, nTabs);
        }