#include <otf.h>
-char *indent_spaces[] =
- { "", " ", " ", " ", " ", " ", " ",
- " ", " ", " " };
-
/* Indented print. */
-#define IPRINT printf("\n%s", indent_spaces[indent]), printf
+#define IPRINT printf("\n%*s", indent * 2, ""), printf
static void
dump_tag (OTF_Tag tag)
static void
dump_anchor (int indent, OTF_Anchor *anchor)
{
+ if (anchor->offset == 0)
+ return;
IPRINT ("(Anchor (offset #x%04X) (AnchorFormat %d)",
anchor->offset, anchor->AnchorFormat);
indent++;