diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-10 22:23:18 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-10 22:27:45 -0800 |
commit | fed17089fc586b6e762d121a34f2dbf95dd6433b (patch) | |
tree | ef78db195129c761bf09e8b87523d8434b0b61ef /RenderLogo.c | |
parent | a3223e295cf840b7854a91c7e5577812edb11e62 (diff) |
Strip old CVS id tags and trailing whitespaces
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'RenderLogo.c')
-rw-r--r-- | RenderLogo.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/RenderLogo.c b/RenderLogo.c index 886826d..a7963fb 100644 --- a/RenderLogo.c +++ b/RenderLogo.c @@ -1,5 +1,3 @@ -/* $Xorg: DrawLogo.c,v 1.4 2001/02/09 02:03:52 xorgcvs Exp $ */ - /* Copyright 1988, 1998 The Open Group @@ -25,14 +23,13 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/programs/xlogo/RenderLogo.c,v 1.3tsi Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> -#include <X11/Xlib.h> +#include <X11/Xlib.h> #include <X11/extensions/Xrender.h> #include "RenderLogo.h" @@ -124,7 +121,7 @@ RenderLogo(Display *dpy, int op, Picture src, Picture dst, XRenderPictFormat *ma static double compute_inverse_slope (XLineDouble *l) { - return ((l->p2.x - l->p1.x) / + return ((l->p2.x - l->p1.x) / (l->p2.y - l->p1.y)); } |