diff src/w32fns.c @ 85263:f8835bb7ba30

Replace `abs' with `eabs'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Oct 2007 12:48:26 +0000
parents 5039706521c9
children 591c29778a30
line wrap: on
line diff
--- 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);
 }