Implement SET LEADZERO.
[pspp] / src / output / spv / spv-light-decoder.c
index f1f3dba9607dc68599ceb4a3a755bd471a5754d0..7bc3b1fb272f469ab302920e2451cebfe2c927e3 100644 (file)
@@ -170,6 +170,7 @@ decode_spvlb_halign (uint32_t in, enum table_halign *halignp)
       return NULL;
 
     default:
+      *halignp = 0;
       return xasprintf ("bad cell style halign %"PRIu32, in);
     }
 }
@@ -938,6 +939,8 @@ decode_spvlb_table (const struct spvlb_table *in, struct pivot_table **outp)
           /* XXX warn if parsing fails */
         }
     }
+  if (y1)
+    out->settings.include_leading_zero = y1->include_leading_zero;
   out->small = in->formats->x3 ? in->formats->x3->small : 0;
 
   /* Command information. */