From 9826b77f89c80fac287fa02a2fe432ac8e5ea462 Mon Sep 17 00:00:00 2001 From: Clecio Jung Date: Sat, 15 Apr 2023 11:44:47 -0300 Subject: Adding new search functions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f726ed3..3c460ad 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ int main(const int argc, const char **const argv) { printf("\nThe specified key equals to: %s\n", value); /* You can search for a property and convert it directly to a number */ - if (ini_file_find_float(ini_file, "section", "key", &number) != ini_no_error) { + if (ini_file_find_double(ini_file, "section", "key", &number) != ini_no_error) { fprintf(stderr, "\nIt was not possible to find the specified key!\n"); } printf("\nThe specified key equals to: %g\n", number); -- cgit v1.2.3