Implemented the SHOW command and massaged the SET command to fit
[pspp-builds.git] / src / matrix.c
index 30e3fde231860fadb0a7055255345bccae42abf9..42911f1847011ddcd2578c9882c7f9f0e8e37520 100644 (file)
@@ -107,7 +107,7 @@ vec_print (const struct vector *vec)
 
   for (i = 0; i < vec->n; i++)
     {
-      if (i % ((set_viewwidth - 4) / 8) == 0)
+      if (i % ((get_viewwidth() - 4) / 8) == 0)
        {
          if (i)
            putchar ('\n');