PATCH: dlls/wineps/text.c

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 11:35:42 CDT 2004


This cleans up behind revision 1.22 of dlls/wineps/text.c

  date: 2004/04/29 20:01:23;  author: julliard;  state: Exp;  lines: +2 -2
  Krzysztof Foltman <kfoltman at portal.onet.pl>
  Make sure ascent/descent values don't become negative after coordinate
  mapping.

which introduced the following warning:

  text.c:179: warning: implicit declaration of function `abs'

Gerald

ChangeLog:
Include <stdlib.h> to obtain a prototype of abs().
Index: text.c
===================================================================
RCS file: /home/wine/wine/dlls/wineps/text.c,v
retrieving revision 1.22
diff -u -3 -p -r1.22 text.c
--- text.c	29 Apr 2004 20:01:23 -0000	1.22
+++ text.c	1 May 2004 16:33:25 -0000
@@ -19,6 +19,7 @@
  */
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 #include <math.h>

 #include "windef.h"



More information about the wine-patches mailing list