Added a check on the element when setting a value in a column
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
|
||||
int obi_column_set_obichar_with_elt_idx(OBIDMS_column_p column, index_t line_nb, index_t element_idx, obichar_t value)
|
||||
{
|
||||
if (obi_column_prepare_to_set_value(column, line_nb) < 0)
|
||||
if (obi_column_prepare_to_set_value(column, line_nb, element_idx) < 0)
|
||||
return -1;
|
||||
|
||||
// Set the value
|
||||
|
Reference in New Issue
Block a user