summaryrefslogtreecommitdiff
path: root/app/xlogo/RenderLogo.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-03-28 10:12:37 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-03-28 10:12:37 +0000
commit307f3d17d6eaae1981a5d2299bc7881d7005217f (patch)
treeb7746a868c8ee154db9dd582d306db4ed1d24099 /app/xlogo/RenderLogo.c
parentb2e70c08fce4317fa1b6a8c21b3863d104ef1a33 (diff)
update to xlogo 1.0.2
Diffstat (limited to 'app/xlogo/RenderLogo.c')
-rw-r--r--app/xlogo/RenderLogo.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/xlogo/RenderLogo.c b/app/xlogo/RenderLogo.c
index 886826d7d..a7963fb15 100644
--- a/app/xlogo/RenderLogo.c
+++ b/app/xlogo/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));
}