summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/tools/muconvert.c6
-rw-r--r--source/tools/mudraw.c16
-rw-r--r--source/tools/muraster.c10
3 files changed, 16 insertions, 16 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;
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index fde776d2..1b5300d9 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -1372,20 +1372,20 @@ int mudraw_main(int argc, char **argv)
case 'o': output = fz_optarg; break;
case 'F': format = fz_optarg; break;
- case 'R': rotation = atof(fz_optarg); break;
- case 'r': resolution = atof(fz_optarg); res_specified = 1; break;
- case 'w': width = atof(fz_optarg); break;
- case 'h': height = atof(fz_optarg); break;
+ case 'R': rotation = fz_atof(fz_optarg); break;
+ case 'r': resolution = fz_atof(fz_optarg); res_specified = 1; break;
+ case 'w': width = fz_atof(fz_optarg); break;
+ case 'h': height = fz_atof(fz_optarg); break;
case 'f': fit = 1; break;
case 'B': bandheight = atoi(fz_optarg); break;
case 'c': out_cs = parse_colorspace(fz_optarg); break;
- case 'G': gamma_value = atof(fz_optarg); break;
+ case 'G': gamma_value = fz_atof(fz_optarg); break;
case 'I': invert++; 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 's':
diff --git a/source/tools/muraster.c b/source/tools/muraster.c
index 5f56b63e..07c64b72 100644
--- a/source/tools/muraster.c
+++ b/source/tools/muraster.c
@@ -1595,15 +1595,15 @@ int main(int argc, char **argv)
case 'R': rotation = read_rotation(fz_optarg); break;
case 'r': read_resolution(fz_optarg); break;
- case 'w': width = atof(fz_optarg); break;
- case 'h': height = atof(fz_optarg); break;
+ case 'w': width = fz_atof(fz_optarg); break;
+ case 'h': height = fz_atof(fz_optarg); break;
case 'f': fit = 1; break;
case 'B': min_band_height = atoi(fz_optarg); break;
case 'M': max_band_memory = 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': layoutput_css = fz_optarg; break;
case 's':