Made cell reference label take proper offset.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 7 Jul 2007 07:34:19 +0000 (07:34 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 7 Jul 2007 07:34:19 +0000 (07:34 +0000)
src/ui/gui/data-editor.c

index ada84b1a66061580a7cf6f2587fdc1e8e5c66e61..30e587ef5cb2dbafabf2e12fd481bc9850c58fcc 100644 (file)
@@ -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);