From: John Darrington Date: Sat, 7 Jul 2007 07:34:19 +0000 (+0000) Subject: Made cell reference label take proper offset. X-Git-Tag: sav-api~1415 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a74a7e6490448857ecfd5ead1c3ae3ddfea9d7;p=pspp Made cell reference label take proper offset. --- diff --git a/src/ui/gui/data-editor.c b/src/ui/gui/data-editor.c index ada84b1a66..30e587ef5c 100644 --- a/src/ui/gui/data-editor.c +++ b/src/ui/gui/data-editor.c @@ -1304,7 +1304,7 @@ update_data_ref_entry (const GtkSheet *sheet, gint row, gint col, gpointer data) if ( var ) { - gchar *text = g_strdup_printf ("%d: %s", row, + gchar *text = g_strdup_printf ("%d: %s", row + FIRST_CASE_NUMBER, var_get_name (var)); gchar *s = pspp_locale_to_utf8 (text, -1, 0);