From: Ben Pfaff Date: Mon, 12 Nov 2007 00:54:50 +0000 (+0000) Subject: (display_variables): Fix DISPLAY LABELS. Thanks to Guido Gay X-Git-Tag: v0.6.0~189 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a91737acfb493b2d7dd073475f8009b4e487ec7;p=pspp-builds.git (display_variables): Fix DISPLAY LABELS. Thanks to Guido Gay for reporting this bug. --- diff --git a/src/language/dictionary/ChangeLog b/src/language/dictionary/ChangeLog index 31c762f5..bc7d7134 100644 --- a/src/language/dictionary/ChangeLog +++ b/src/language/dictionary/ChangeLog @@ -1,3 +1,8 @@ +2007-11-11 Ben Pfaff + + * sys-file-info.c (display_variables): Fix DISPLAY LABELS. Thanks + to Guido Gay for reporting this bug. + 2007-11-03 Ben Pfaff Allow output files to overwrite input files (bug #21280). diff --git a/src/language/dictionary/sys-file-info.c b/src/language/dictionary/sys-file-info.c index fb953c94..b98854db 100644 --- a/src/language/dictionary/sys-file-info.c +++ b/src/language/dictionary/sys-file-info.c @@ -423,7 +423,7 @@ display_variables (const struct variable **vl, size_t n, int as) { const char *label = var_get_label (v); tab_joint_text (t, 1, r, 2, r, TAB_LEFT, - label != NULL ? "(no label)" : label); + label == NULL ? "(no label)" : label); } if (as != AS_NAMES) {