aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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);