Fix rest of PR 13054.
[pspp-builds.git] / src / tab.c
index 6005ec9cc72f16eee02b9ceaa02ce185effef118..9f6a9c3554b1512fa7aa4860c1313d061996ff87 100644 (file)
--- a/src/tab.c
+++ b/src/tab.c
@@ -607,9 +607,7 @@ tab_float (struct tab_table *table, int c, int r, unsigned char opt,
   assert (r >= 0);
   assert (r < table->nr);
 
-  f.type = FMT_F;
-  f.w = w;
-  f.d = d;
+  f = make_output_format (FMT_F, w, d);
   
 #if GLOBAL_DEBUGGING
   if (c + table->col_ofs < 0 || r + table->row_ofs < 0