pivot-table: Honor blank variable labels.
[pspp] / src / output / pivot-table.c
index 661813f28b22d0522a8fdbe5465bdf71796f95b3..bec8638bd03a037a3a096b2209968e6d0999486e 100644 (file)
@@ -2915,7 +2915,7 @@ pivot_value_new_variable__ (const char *name, const char *label)
     .variable = {
       .type = PIVOT_VALUE_VARIABLE,
       .var_name = xstrdup (name),
-      .var_label = xstrdup_if_nonempty (label),
+      .var_label = xstrdup_if_nonnull (label),
     },
   };
   return value;