output: Always use helper functions to access struct tab_table members.
[pspp-builds.git] / src / language / dictionary / sys-file-info.c
index 01f4246fd816ff0b17ab00cad4c2cf03813088ac..fc22b9e98edec209b733c4896523ce0440f97a4f 100644 (file)
@@ -79,7 +79,7 @@ sysfile_info_dim (struct tab_rendering *r, void *aux UNUSED)
   for (p = max; *p; p++)
     r->w[p - max] = MIN (tab_natural_width (r, p - max),
                          *p * r->driver->prop_em_width);
-  for (i = 0; i < t->nr; i++)
+  for (i = 0; i < tab_nr (t); i++)
     r->h[i] = tab_natural_height (r, i);
 }