aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index bc5863f919c..ea5d231720b 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8085,7 +8085,7 @@ compute_image_size (size_t width, size_t height,
8085 desired_height = NATNUMP (value) ? min (XFASTINT (value), INT_MAX) : -1; 8085 desired_height = NATNUMP (value) ? min (XFASTINT (value), INT_MAX) : -1;
8086 8086
8087 value = image_spec_value (spec, QCscale, NULL); 8087 value = image_spec_value (spec, QCscale, NULL);
8088 if (NATNUMP (value)) 8088 if (NUMBERP (value))
8089 scale = extract_float (value); 8089 scale = extract_float (value);
8090 width = width * scale; 8090 width = width * scale;
8091 height = height * scale; 8091 height = height * scale;