diff options
| author | Eli Zaretskii | 2007-10-13 12:48:57 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-10-13 12:48:57 +0000 |
| commit | 1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d (patch) | |
| tree | 5ff3410aecc837cec234cc3bb8f463a0b00de8eb /src/macterm.c | |
| parent | 555b10b098c1f9a0450e385d291386caae1dda4f (diff) | |
| download | emacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.tar.gz emacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.zip | |
Replace `abs' with `eabs'.
Diffstat (limited to 'src/macterm.c')
| -rw-r--r-- | src/macterm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/macterm.c b/src/macterm.c index bfd7dca2c3b..e4b9cca819c 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -2968,7 +2968,7 @@ x_draw_glyph_string_foreground (s) | |||
| 2968 | of S to the right of that box line. */ | 2968 | of S to the right of that box line. */ |
| 2969 | if (s->face->box != FACE_NO_BOX | 2969 | if (s->face->box != FACE_NO_BOX |
| 2970 | && s->first_glyph->left_box_line_p) | 2970 | && s->first_glyph->left_box_line_p) |
| 2971 | x = s->x + abs (s->face->box_line_width); | 2971 | x = s->x + eabs (s->face->box_line_width); |
| 2972 | else | 2972 | else |
| 2973 | x = s->x; | 2973 | x = s->x; |
| 2974 | 2974 | ||
| @@ -3047,7 +3047,7 @@ x_draw_composite_glyph_string_foreground (s) | |||
| 3047 | of S to the right of that box line. */ | 3047 | of S to the right of that box line. */ |
| 3048 | if (s->face->box != FACE_NO_BOX | 3048 | if (s->face->box != FACE_NO_BOX |
| 3049 | && s->first_glyph->left_box_line_p) | 3049 | && s->first_glyph->left_box_line_p) |
| 3050 | x = s->x + abs (s->face->box_line_width); | 3050 | x = s->x + eabs (s->face->box_line_width); |
| 3051 | else | 3051 | else |
| 3052 | x = s->x; | 3052 | x = s->x; |
| 3053 | 3053 | ||
| @@ -3542,7 +3542,7 @@ x_draw_glyph_string_box (s) | |||
| 3542 | ? s->first_glyph | 3542 | ? s->first_glyph |
| 3543 | : s->first_glyph + s->nchars - 1); | 3543 | : s->first_glyph + s->nchars - 1); |
| 3544 | 3544 | ||
| 3545 | width = abs (s->face->box_line_width); | 3545 | width = eabs (s->face->box_line_width); |
| 3546 | raised_p = s->face->box == FACE_RAISED_BOX; | 3546 | raised_p = s->face->box == FACE_RAISED_BOX; |
| 3547 | left_x = s->x; | 3547 | left_x = s->x; |
| 3548 | right_x = (s->row->full_width_p && s->extends_to_end_of_line_p | 3548 | right_x = (s->row->full_width_p && s->extends_to_end_of_line_p |
| @@ -3588,7 +3588,7 @@ x_draw_image_foreground (s) | |||
| 3588 | if (s->face->box != FACE_NO_BOX | 3588 | if (s->face->box != FACE_NO_BOX |
| 3589 | && s->first_glyph->left_box_line_p | 3589 | && s->first_glyph->left_box_line_p |
| 3590 | && s->slice.x == 0) | 3590 | && s->slice.x == 0) |
| 3591 | x += abs (s->face->box_line_width); | 3591 | x += eabs (s->face->box_line_width); |
| 3592 | 3592 | ||
| 3593 | /* If there is a margin around the image, adjust x- and y-position | 3593 | /* If there is a margin around the image, adjust x- and y-position |
| 3594 | by that margin. */ | 3594 | by that margin. */ |
| @@ -3661,7 +3661,7 @@ x_draw_image_relief (s) | |||
| 3661 | if (s->face->box != FACE_NO_BOX | 3661 | if (s->face->box != FACE_NO_BOX |
| 3662 | && s->first_glyph->left_box_line_p | 3662 | && s->first_glyph->left_box_line_p |
| 3663 | && s->slice.x == 0) | 3663 | && s->slice.x == 0) |
| 3664 | x += abs (s->face->box_line_width); | 3664 | x += eabs (s->face->box_line_width); |
| 3665 | 3665 | ||
| 3666 | /* If there is a margin around the image, adjust x- and y-position | 3666 | /* If there is a margin around the image, adjust x- and y-position |
| 3667 | by that margin. */ | 3667 | by that margin. */ |
| @@ -3678,7 +3678,7 @@ x_draw_image_relief (s) | |||
| 3678 | } | 3678 | } |
| 3679 | else | 3679 | else |
| 3680 | { | 3680 | { |
| 3681 | thick = abs (s->img->relief); | 3681 | thick = eabs (s->img->relief); |
| 3682 | raised_p = s->img->relief > 0; | 3682 | raised_p = s->img->relief > 0; |
| 3683 | } | 3683 | } |
| 3684 | 3684 | ||
| @@ -3739,7 +3739,7 @@ x_draw_image_glyph_string (s) | |||
| 3739 | struct glyph_string *s; | 3739 | struct glyph_string *s; |
| 3740 | { | 3740 | { |
| 3741 | int x, y; | 3741 | int x, y; |
| 3742 | int box_line_hwidth = abs (s->face->box_line_width); | 3742 | int box_line_hwidth = eabs (s->face->box_line_width); |
| 3743 | int box_line_vwidth = max (s->face->box_line_width, 0); | 3743 | int box_line_vwidth = max (s->face->box_line_width, 0); |
| 3744 | int height; | 3744 | int height; |
| 3745 | 3745 | ||