Fix easycsv_find_num_value
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
This commit is contained in:
parent
042667e538
commit
679160e208
@ -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…
Reference in New Issue
Block a user