X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-store.c;h=65001dd170d98a3edaa903a619244b38e931b38f;hp=07795124338fab69cd40b4e268641edb48648b47;hb=1485e3a189c42b1ac1339c063c85d9e74e503431;hpb=729b96a6bd9342c45e6f65a113fd87c70da85b0a diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index 07795124..65001dd1 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -801,6 +801,9 @@ get_column_button_label (const PsppireSheetModel *model, gint col) pv = psppire_dict_get_variable (ds->dict, col); + if (NULL == pv) + return NULL; + return xstrdup (var_get_name (pv)); }