diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-22 19:52:12 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-22 23:43:41 +0800 |
commit | fadb7c18fbeb3728cf5afd4cc50164b6f3f86a0a (patch) | |
tree | 8f8b664200ac7a48210b7c00ec7f2eaeadfd734c /source/tools/muconvert.c | |
parent | 1c46ee8d0463c17cb2efd36e1151e6a8ad6c7c0f (diff) | |
download | mupdf-fadb7c18fbeb3728cf5afd4cc50164b6f3f86a0a.tar.xz |
tools: Prefer fz_atof() to atof().
Diffstat (limited to 'source/tools/muconvert.c')
-rw-r--r-- | source/tools/muconvert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tools/muconvert.c b/source/tools/muconvert.c index 4fb3b071..13afee5d 100644 --- a/source/tools/muconvert.c +++ b/source/tools/muconvert.c @@ -93,9 +93,9 @@ int muconvert_main(int argc, char **argv) case 'p': password = fz_optarg; break; case 'A': alphabits = atoi(fz_optarg); break; - case 'W': layout_w = atof(fz_optarg); break; - case 'H': layout_h = atof(fz_optarg); break; - case 'S': layout_em = atof(fz_optarg); break; + case 'W': layout_w = fz_atof(fz_optarg); break; + case 'H': layout_h = fz_atof(fz_optarg); break; + case 'S': layout_em = fz_atof(fz_optarg); break; case 'U': layout_css = fz_optarg; break; case 'o': output = fz_optarg; break; |