- const char *s = val_labs_find(indep_var->val_labs, gs->id );
-
- if ( s )
- tab_text (t, 1, row + count,
- TAB_LEFT | TAT_TITLE ,s);
- else if ( indep_var->width != 0 )
- tab_text (t, 1, row + count,
- TAB_LEFT | TAT_TITLE, gs->id.s);
- else
- tab_text (t, 1, row + count,
- TAB_LEFT | TAT_TITLE | TAT_PRINTF, "%g", gs->id.f);
-
+ gs = gs_array[count];
+
+ tab_text (t, 1, row + count,
+ TAB_LEFT | TAT_TITLE ,value_to_string(&gs->id,indep_var));