diff options
| author | Clecio Jung | 2023-04-15 11:44:47 -0300 |
|---|---|---|
| committer | Clecio Jung | 2023-04-15 11:44:47 -0300 |
| commit | 9826b77f89c80fac287fa02a2fe432ac8e5ea462 (patch) | |
| tree | 94b8fe04184fa45820abfa670f0820b9a619edb3 /README.md | |
| parent | d7119c21fa566d2d5834cc5aa8627655ee849160 (diff) | |
| download | libini-9826b77f89c80fac287fa02a2fe432ac8e5ea462.tar.xz libini-9826b77f89c80fac287fa02a2fe432ac8e5ea462.tar.zst | |
Adding new search functions
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
