Browse Source

Fix easycsv_find_num_value

Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
redesign
Pradana AUMARS 10 months ago
parent
commit
679160e208
  1. 2
      src/easycsv.c

2
src/easycsv.c

@ -137,7 +137,7 @@ easycsv_find_num_value(const easycsv* csv,
const unsigned int rows = easycsv_print_rows(csv);
for (unsigned int row_l = 1; row_l <= rows; row_l++) {
for (unsigned int col_l = 1; col_l <= cols; col_l++) {
for (unsigned int col_l = 1; col_l < cols; col_l++) {
str = easycsv_read_value(csv, col_l, row_l);
if (strcmp(str, value) == 0) {
num++;

Loading…
Cancel
Save