aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorClecio Jung2023-04-15 11:44:47 -0300
committerClecio Jung2023-04-15 11:44:47 -0300
commit9826b77f89c80fac287fa02a2fe432ac8e5ea462 (patch)
tree94b8fe04184fa45820abfa670f0820b9a619edb3 /README.md
parentd7119c21fa566d2d5834cc5aa8627655ee849160 (diff)
downloadlibini-9826b77f89c80fac287fa02a2fe432ac8e5ea462.tar.xz
libini-9826b77f89c80fac287fa02a2fe432ac8e5ea462.tar.zst
Adding new search functions
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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);