Browse code

textopsx: docs - fix example for body line iterator

Daniel-Constantin Mierla authored on 30/07/2021 10:39:32
Showing 1 changed files
... ...
@@ -754,8 +754,8 @@ bl_iterator_end("b1");
754 754
 		<programlisting format="linespecific">
755 755
 ...
756 756
     bl_iterator_start("b1");
757
-    while(hf_iterator_next("b1")) {
758
-        xlog("body line: hdr[$hfitname(b1)]\n");
757
+    while(bl_iterator_next("b1")) {
758
+        xlog("body line: $blitval(b1)");
759 759
     }
760 760
     bl_iterator_end("b1");
761 761
 ...