aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorEli Zaretskii2007-10-13 12:48:57 +0000
committerEli Zaretskii2007-10-13 12:48:57 +0000
commit1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d (patch)
tree5ff3410aecc837cec234cc3bb8f463a0b00de8eb /src/image.c
parent555b10b098c1f9a0450e385d291386caae1dda4f (diff)
downloademacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.tar.gz
emacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.zip
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)
1984 if (INTEGERP (relief)) 1984 if (INTEGERP (relief))
1985 { 1985 {
1986 img->relief = XINT (relief); 1986 img->relief = XINT (relief);
1987 img->hmargin += abs (img->relief); 1987 img->hmargin += eabs (img->relief);
1988 img->vmargin += abs (img->relief); 1988 img->vmargin += eabs (img->relief);
1989 } 1989 }
1990 1990
1991 if (! img->background_valid) 1991 if (! img->background_valid)
@@ -5165,7 +5165,7 @@ x_detect_edges (f, img, matrix, color_adjust)
5165 int x, y, i, sum; 5165 int x, y, i, sum;
5166 5166
5167 for (i = sum = 0; i < 9; ++i) 5167 for (i = sum = 0; i < 9; ++i)
5168 sum += abs (matrix[i]); 5168 sum += eabs (matrix[i]);
5169 5169
5170#define COLOR(A, X, Y) ((A) + (Y) * img->width + (X)) 5170#define COLOR(A, X, Y) ((A) + (Y) * img->width + (X))
5171 5171