summaryrefslogtreecommitdiff
path: root/xdpyinfo.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-03-19 19:15:18 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-03-19 19:15:18 -0700
commit6a26c41570f1b91f14508cf3d44f4ed3c51127bd (patch)
treed82137821bf835ef807cbd5bce5ab324edf0c4ca /xdpyinfo.c
parent752b793aa03b67eeff6b01c7f0bdb729f00bd49b (diff)
Fix typos in comments
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r--xdpyinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index 5bc348a..b682058 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -1,7 +1,7 @@
/*
* $Xorg: xdpyinfo.c,v 1.5 2001/02/09 02:05:41 xorgcvs Exp $
*
- * xdpyinfo - print information about X display connecton
+ * xdpyinfo - print information about X display connection
*
*
Copyright 1988, 1998 The Open Group
@@ -438,7 +438,7 @@ print_screen_info(Display *dpy, int scr)
{
Screen *s = ScreenOfDisplay (dpy, scr); /* opaque structure */
XVisualInfo viproto; /* fill in for getting info */
- XVisualInfo *vip; /* retured info */
+ XVisualInfo *vip; /* returned info */
int nvi; /* number of elements returned */
int i; /* temp variable: iterator */
char eventbuf[80]; /* want 79 chars per line + nul */
@@ -446,7 +446,7 @@ print_screen_info(Display *dpy, int scr)
double xres, yres;
int ndepths = 0, *depths = NULL;
unsigned int width, height;
- Bool isPrintScreen = False; /* Initalise this if |INCLUDE_XPRINT_SUPPORT| is not set */
+ Bool isPrintScreen = False; /* Initialise this if |INCLUDE_XPRINT_SUPPORT| is not set */
/*
* there are 2.54 centimeters to an inch; so there are 25.4 millimeters.