X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftext-item.c;h=6b0d75f374c07bbf6701e6c45e81f2a3499ca960;hb=5e8eab0fb47cff52247ef61713003537dd986118;hp=a0428acc82c44209e3c91d16e98ebb2a6a34a8c2;hpb=3ad7936615cf7e9277e25a963364c3613a0cf6d9;p=pspp diff --git a/src/output/text-item.c b/src/output/text-item.c index a0428acc82..6b0d75f374 100644 --- a/src/output/text-item.c +++ b/src/output/text-item.c @@ -100,6 +100,7 @@ text_item_create_value (enum text_item_type type, struct pivot_value *value, struct text_item *item = xzalloc (sizeof *item); *item = (struct text_item) { .output_item = OUTPUT_ITEM_INITIALIZER (&text_item_class), + .output_item.command_name = xstrdup_if_nonnull (output_get_command_name ()), .output_item.label = label, .type = type, .text = value,