Implemented the find dialog.
[pspp-builds.git] / src / data / datasheet.c
index 913c8e5aff495f97055b8a7a62579716d3840f77..f76b1908d50f1dbdeeff94af7f9d6ecd2150ca16 100644 (file)
@@ -428,6 +428,7 @@ bool
 datasheet_get_value (const struct datasheet *ds, casenumber row, size_t column,
                      union value *value, int width)
 {
+  assert ( row >= 0 );
   return rw_case ((struct datasheet *) ds,
                   OP_READ, row, column, value_cnt_from_width (width), value);
 }