Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / output / ascii.c
index ad72e8dcff946856924705899e65ec6d7fcc1ef7..29d7b76b2940d76dbc0af108827922785f8e71ce 100644 (file)
@@ -238,9 +238,9 @@ update_page_size (struct outp_driver *this, bool issue_error)
   int margins = x->top_margin + x->bottom_margin + 1 + (x->headers ? 3 : 0);
 
   if (x->auto_width)
-    this->width = get_viewwidth ();
+    this->width = settings_get_viewwidth ();
   if (x->auto_length)
-    x->page_length = get_viewlength ();
+    x->page_length = settings_get_viewlength ();
 
   this->length = x->page_length - margins;