summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2007-10-13 12:43:49 +0000
committerEli Zaretskii <eliz@gnu.org>2007-10-13 12:43:49 +0000
commita85075e3b8d027868ca5ff7e39fe16387afe57b1 (patch)
treec79e180a3c6398a0e257fbd969a6260208cd8a14 /src/image.c
parent56039f637eb99806b0e1c9eaa0ad029b7bc7397b (diff)
downloademacs-a85075e3b8d027868ca5ff7e39fe16387afe57b1.tar.gz
Replace `abs' with `eabs'.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c
index 16826c425fa..33d5e1a9b2d 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1984,8 +1984,8 @@ lookup_image (f, spec)
if (INTEGERP (relief))
{
img->relief = XINT (relief);
- img->hmargin += abs (img->relief);
- img->vmargin += abs (img->relief);
+ img->hmargin += eabs (img->relief);
+ img->vmargin += eabs (img->relief);
}
if (! img->background_valid)
@@ -5165,7 +5165,7 @@ x_detect_edges (f, img, matrix, color_adjust)
int x, y, i, sum;
for (i = sum = 0; i < 9; ++i)
- sum += abs (matrix[i]);
+ sum += eabs (matrix[i]);
#define COLOR(A, X, Y) ((A) + (Y) * img->width + (X))