# HG changeset patch # User Eli Zaretskii # Date 1192279706 0 # Node ID f8835bb7ba308ce218ad0a9a61d0d97431e9a121 # Parent 77d6e76160a61e6dd0375f6e7b6ef1c5b02fd482 Replace `abs' with `eabs'. diff -r 77d6e76160a6 -r f8835bb7ba30 src/w32fns.c --- a/src/w32fns.c Sat Oct 13 12:47:51 2007 +0000 +++ b/src/w32fns.c Sat Oct 13 12:48:26 2007 +0000 @@ -5370,9 +5370,9 @@ if (lplogfont->lfHeight) { - sprintf (height_pixels, "%u", abs (lplogfont->lfHeight)); + sprintf (height_pixels, "%u", eabs (lplogfont->lfHeight)); sprintf (height_dpi, "%u", - abs (lplogfont->lfHeight) * 720 / display_resy); + eabs (lplogfont->lfHeight) * 720 / display_resy); } else { @@ -5594,7 +5594,7 @@ } /* This makes TrueType fonts work better. */ - lplogfont->lfHeight = - abs (lplogfont->lfHeight); + lplogfont->lfHeight = - eabs (lplogfont->lfHeight); return (TRUE); }