diff options
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)); } |