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/w32term.c | |
| parent | 555b10b098c1f9a0450e385d291386caae1dda4f (diff) | |
| download | emacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.tar.gz emacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.zip | |
Replace `abs' with `eabs'.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/w32term.c b/src/w32term.c index f46a54fafb9..6a1d1c20af3 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1588,7 +1588,7 @@ x_draw_glyph_string_foreground (s) | |||
| 1588 | of S to the right of that box line. */ | 1588 | of S to the right of that box line. */ |
| 1589 | if (s->face->box != FACE_NO_BOX | 1589 | if (s->face->box != FACE_NO_BOX |
| 1590 | && s->first_glyph->left_box_line_p) | 1590 | && s->first_glyph->left_box_line_p) |
| 1591 | x = s->x + abs (s->face->box_line_width); | 1591 | x = s->x + eabs (s->face->box_line_width); |
| 1592 | else | 1592 | else |
| 1593 | x = s->x; | 1593 | x = s->x; |
| 1594 | 1594 | ||
| @@ -1660,7 +1660,7 @@ x_draw_composite_glyph_string_foreground (s) | |||
| 1660 | of S to the right of that box line. */ | 1660 | of S to the right of that box line. */ |
| 1661 | if (s->face->box != FACE_NO_BOX | 1661 | if (s->face->box != FACE_NO_BOX |
| 1662 | && s->first_glyph->left_box_line_p) | 1662 | && s->first_glyph->left_box_line_p) |
| 1663 | x = s->x + abs (s->face->box_line_width); | 1663 | x = s->x + eabs (s->face->box_line_width); |
| 1664 | else | 1664 | else |
| 1665 | x = s->x; | 1665 | x = s->x; |
| 1666 | 1666 | ||
| @@ -1990,7 +1990,7 @@ x_draw_glyph_string_box (s) | |||
| 1990 | ? s->first_glyph | 1990 | ? s->first_glyph |
| 1991 | : s->first_glyph + s->nchars - 1); | 1991 | : s->first_glyph + s->nchars - 1); |
| 1992 | 1992 | ||
| 1993 | width = abs (s->face->box_line_width); | 1993 | width = eabs (s->face->box_line_width); |
| 1994 | raised_p = s->face->box == FACE_RAISED_BOX; | 1994 | raised_p = s->face->box == FACE_RAISED_BOX; |
| 1995 | left_x = s->x; | 1995 | left_x = s->x; |
| 1996 | right_x = ((s->row->full_width_p && s->extends_to_end_of_line_p | 1996 | right_x = ((s->row->full_width_p && s->extends_to_end_of_line_p |
| @@ -2036,7 +2036,7 @@ x_draw_image_foreground (s) | |||
| 2036 | if (s->face->box != FACE_NO_BOX | 2036 | if (s->face->box != FACE_NO_BOX |
| 2037 | && s->first_glyph->left_box_line_p | 2037 | && s->first_glyph->left_box_line_p |
| 2038 | && s->slice.x == 0) | 2038 | && s->slice.x == 0) |
| 2039 | x += abs (s->face->box_line_width); | 2039 | x += eabs (s->face->box_line_width); |
| 2040 | 2040 | ||
| 2041 | /* If there is a margin around the image, adjust x- and y-position | 2041 | /* If there is a margin around the image, adjust x- and y-position |
| 2042 | by that margin. */ | 2042 | by that margin. */ |
| @@ -2129,7 +2129,7 @@ x_draw_image_relief (s) | |||
| 2129 | if (s->face->box != FACE_NO_BOX | 2129 | if (s->face->box != FACE_NO_BOX |
| 2130 | && s->first_glyph->left_box_line_p | 2130 | && s->first_glyph->left_box_line_p |
| 2131 | && s->slice.x == 0) | 2131 | && s->slice.x == 0) |
| 2132 | x += abs (s->face->box_line_width); | 2132 | x += eabs (s->face->box_line_width); |
| 2133 | 2133 | ||
| 2134 | /* If there is a margin around the image, adjust x- and y-position | 2134 | /* If there is a margin around the image, adjust x- and y-position |
| 2135 | by that margin. */ | 2135 | by that margin. */ |
| @@ -2146,7 +2146,7 @@ x_draw_image_relief (s) | |||
| 2146 | } | 2146 | } |
| 2147 | else | 2147 | else |
| 2148 | { | 2148 | { |
| 2149 | thick = abs (s->img->relief); | 2149 | thick = eabs (s->img->relief); |
| 2150 | raised_p = s->img->relief > 0; | 2150 | raised_p = s->img->relief > 0; |
| 2151 | } | 2151 | } |
| 2152 | 2152 | ||
| @@ -2183,7 +2183,7 @@ w32_draw_image_foreground_1 (s, pixmap) | |||
| 2183 | if (s->face->box != FACE_NO_BOX | 2183 | if (s->face->box != FACE_NO_BOX |
| 2184 | && s->first_glyph->left_box_line_p | 2184 | && s->first_glyph->left_box_line_p |
| 2185 | && s->slice.x == 0) | 2185 | && s->slice.x == 0) |
| 2186 | x += abs (s->face->box_line_width); | 2186 | x += eabs (s->face->box_line_width); |
| 2187 | 2187 | ||
| 2188 | /* If there is a margin around the image, adjust x- and y-position | 2188 | /* If there is a margin around the image, adjust x- and y-position |
| 2189 | by that margin. */ | 2189 | by that margin. */ |
| @@ -2295,7 +2295,7 @@ x_draw_image_glyph_string (s) | |||
| 2295 | struct glyph_string *s; | 2295 | struct glyph_string *s; |
| 2296 | { | 2296 | { |
| 2297 | int x, y; | 2297 | int x, y; |
| 2298 | int box_line_hwidth = abs (s->face->box_line_width); | 2298 | int box_line_hwidth = eabs (s->face->box_line_width); |
| 2299 | int box_line_vwidth = max (s->face->box_line_width, 0); | 2299 | int box_line_vwidth = max (s->face->box_line_width, 0); |
| 2300 | int height; | 2300 | int height; |
| 2301 | HBITMAP pixmap = 0; | 2301 | HBITMAP pixmap = 0; |