aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2007-10-13 12:48:57 +0000
committerEli Zaretskii <[email protected]>2007-10-13 12:48:57 +0000
commit1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d (patch)
tree5ff3410aecc837cec234cc3bb8f463a0b00de8eb /src/image.c
parent555b10b098c1f9a0450e385d291386caae1dda4f (diff)
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 16826c425f..33d5e1a9b2 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))