[PATCH 07/18] dmx: fix spelling mistakes
Eric Engestrom
eric at engestrom.ch
Sat Apr 2 18:53:20 UTC 2016
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
hw/dmx/config/dmxconfig.c | 2 +-
hw/dmx/dmxcb.c | 2 +-
hw/dmx/dmxextension.c | 4 ++--
hw/dmx/dmxscrinit.c | 2 +-
hw/dmx/dmxwindow.c | 2 +-
hw/dmx/doc/DMXSpec.txt | 2 +-
hw/dmx/input/dmxconsole.c | 2 +-
hw/dmx/man/Xdmx.man | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/hw/dmx/config/dmxconfig.c b/hw/dmx/config/dmxconfig.c
index c1a9e1c..5f53225 100644
--- a/hw/dmx/config/dmxconfig.c
+++ b/hw/dmx/config/dmxconfig.c
@@ -63,7 +63,7 @@ typedef struct DMXConfigListStruct {
struct DMXConfigListStruct *next;
} DMXConfigList, *DMXConfigListPtr;
-/** This stucture stores the parsed configuration information. */
+/** This structure stores the parsed configuration information. */
typedef struct DMXConfigCmdStruct {
const char *filename;
const char *config;
diff --git a/hw/dmx/dmxcb.c b/hw/dmx/dmxcb.c
index cca5702..6d652c3 100644
--- a/hw/dmx/dmxcb.c
+++ b/hw/dmx/dmxcb.c
@@ -193,7 +193,7 @@ dmxConnectionBlockCallback(void)
found[k] = TRUE;
}
else {
- /* Screen #k is detatched, so it always succeeds */
+ /* Screen #k is detached, so it always succeeds */
found[k] = TRUE;
}
}
diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c
index 75d7166..2f9aa23 100644
--- a/hw/dmx/dmxextension.c
+++ b/hw/dmx/dmxextension.c
@@ -959,7 +959,7 @@ dmxBECreateResources(void *value, XID id, RESTYPE type, void *n)
}
}
-/** Create window hierachy on back-end server. The window tree is
+/** Create window hierarchy on back-end server. The window tree is
* created in a special order (bottom most subwindow first) so that the
* #dmxCreateNonRootWindow() function does not need to recursively call
* itself to create each window's parents. This is required so that we
@@ -1590,7 +1590,7 @@ dmxBEDestroyScratchGCs(int scrnNum)
dmxBEFreeGC(ppGC[i]);
}
-/** Destroy window hierachy on back-end server. To ensure that all
+/** Destroy window hierarchy on back-end server. To ensure that all
* XDestroyWindow() calls succeed, they must be performed in a bottom
* up order so that windows are not destroyed before their children.
* XDestroyWindow(), which is called from #dmxBEDestroyWindow(), will
diff --git a/hw/dmx/dmxscrinit.c b/hw/dmx/dmxscrinit.c
index 097418d..57604b5 100644
--- a/hw/dmx/dmxscrinit.c
+++ b/hw/dmx/dmxscrinit.c
@@ -202,7 +202,7 @@ dmxScreenInit(ScreenPtr pScreen, int argc, char *argv[])
return FALSE;
/*
- * Initalise the visual types. miSetVisualTypesAndMasks() requires
+ * Initialise the visual types. miSetVisualTypesAndMasks() requires
* that all of the types for each depth be collected together. It's
* intended for slightly different usage to what we would like here.
* Maybe a miAddVisualTypeAndMask() function will be added to make
diff --git a/hw/dmx/dmxwindow.c b/hw/dmx/dmxwindow.c
index dcdb9ac..56c6c98 100644
--- a/hw/dmx/dmxwindow.c
+++ b/hw/dmx/dmxwindow.c
@@ -270,7 +270,7 @@ dmxCreateNonRootWindow(WindowPtr pWindow)
/** This function handles lazy window creation and realization. Window
* creation is handled by #dmxCreateNonRootWindow(). It also handles
- * any stacking changes that have occured since the window was
+ * any stacking changes that have occurred since the window was
* originally created by calling #dmxDoRestackWindow(). If the window
* is shaped, the shape is set on the back-end server by calling
* #dmxDoSetShape(), and if the window has pictures (from RENDER)
diff --git a/hw/dmx/doc/DMXSpec.txt b/hw/dmx/doc/DMXSpec.txt
index 4009f12..41e930f 100644
--- a/hw/dmx/doc/DMXSpec.txt
+++ b/hw/dmx/doc/DMXSpec.txt
@@ -287,7 +287,7 @@
On success, status will be 0 and physicalScreen will contain the new
screen number. On failure, status will be non-zero. The status
- will be 1 if any of the following occured:
+ will be 1 if any of the following occurred:
* the -addremovescreens command-line option was not specified on
the Xdmx command line
* the value of physicalScreen is out of range
diff --git a/hw/dmx/input/dmxconsole.c b/hw/dmx/input/dmxconsole.c
index f33a0eb..2be5323 100644
--- a/hw/dmx/input/dmxconsole.c
+++ b/hw/dmx/input/dmxconsole.c
@@ -433,7 +433,7 @@ dmxConsoleMoveRelative(myPrivate * priv, int x, int y,
}
/** This routine gets called from #dmxCoreMotion for each motion. This
- * allows the console's notion of the cursor postion to change when
+ * allows the console's notion of the cursor position to change when
* another input device actually caused the change. */
void
dmxConsoleUpdatePosition(void *private, int x, int y)
diff --git a/hw/dmx/man/Xdmx.man b/hw/dmx/man/Xdmx.man
index 6b3feb1..7e02151 100644
--- a/hw/dmx/man/Xdmx.man
+++ b/hw/dmx/man/Xdmx.man
@@ -475,7 +475,7 @@ is the dimension of each display in the wall (e.g., 1280x1024).
The first geometry following
.B display
is the geometry of the screen window on the backend server. The second
-geometry, which is always preceeded by a slash, is the geometry of the
+geometry, which is always preceded by a slash, is the geometry of the
root window. By default, the root window has the same geometry as the
screen window.
.PP
--
2.8.0
More information about the xorg-devel
mailing list