Made the datasheet number cases from 1 instead of zero.
[pspp-builds.git] / src / ui / gui / psppire-data-store.c
index 7dca919c019ed11610943029231eedb13c8323cd..2603d0f4fb63c4dbf259f8dc4896a7749947175e 100644 (file)
@@ -830,7 +830,7 @@ geometry_get_row_button_label (const GSheetRow *geom, gint unit, gpointer data)
        TRAILING_ROWS + psppire_case_file_get_case_count (ds->case_file))
     return 0;
 
-  s = g_strdup_printf (_("%d"), unit);
+  s = g_strdup_printf (_("%d"), unit + FIRST_CASE_NUMBER);
 
   text =  pspp_locale_to_utf8 (s, -1, 0);