Commit 12b96fd9 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

fix formatting and spelling in various files

parent 0a06ee77
......@@ -2319,7 +2319,7 @@ void nxagentSetDeferLevel(void)
nxagentChangeOption(Streaming, False);
}
switch (nxagentOption(LinkType))
switch (nxagentOption(LinkType))
{
case LINK_TYPE_MODEM:
case LINK_TYPE_ISDN: { deferLevel = 2; tileWidth = 64; tileHeight = 64; break; }
......
......@@ -58,7 +58,7 @@ void nxagentWMDetect(void);
#ifdef XlibAtom
/*
* only provide these protoypes if the including file knows about Xlib
* only provide these prototypes if the including file knows about Xlib
* types. This allows us including Atoms.h without having to use the
* Xlib type magic of Agent.h
*/
......
......@@ -767,7 +767,7 @@ static void nxagentDisplayFlushHandler(Display *disp, int length)
* Error flag after the _NXDisplayErrorPredicate returns true. The
* function can be used to activate additional checks, besides the
* normal failures detected by Xlib on the display socket. For exam-
* ple, the application can set the funciton to verify if an inter-
* ple, the application can set the function to verify if an inter-
* rupt was received or if any other event occurred mandating the
+ end of the session."
*/
......
......@@ -1127,7 +1127,7 @@ static void nxagentReconnectClip(GCPtr pGC, int type, void * pValue, int nRects)
/*
* Originally, the clip origin area were 0,0 but it didn't
* work with kedit and family, because it got the clip mask of
* the pixmap all traslated.
* the pixmap all translated.
*/
XSetClipRectangles(nxagentDisplay, nxagentGC(pGC), pGC -> clipOrg.x, pGC -> clipOrg.y,
......
......@@ -528,13 +528,12 @@ void nxagentReconnectPictFormat(void *p0, XID x1, void *p2)
}
/*
* The set of picture formats may change considerably
* between different X servers. This poses a problem
* while migrating NX sessions, because a requisite to
* successfully reconnect the session is that all pic-
* ture formats have to be available on the new X server.
* To reduce such problems, we use a limited set of
* pictures available on the most X servers.
* The set of picture formats may change considerably between
* different X servers. This poses a problem while migrating NX
* sessions, because a requisite to successfully reconnect the session
* is that all picture formats have to be available on the new X
* server. To reduce such problems, we use a limited set of pictures
* available on the most X servers.
*/
void nxagentPictureCreateDefaultFormats(ScreenPtr pScreen, FormatInitRec *formats, int *nformats)
......
......@@ -1245,7 +1245,7 @@ void nxagentFreePropertyList(void)
/*
* We are trying to distinguish notifications generated by an external
* client from those genarated by our own requests.
* client from those generated by our own requests.
*/
Bool nxagentNotifyMatchChangeProperty(void *p)
......
......@@ -112,7 +112,7 @@ SplitResourcePtr nxagentAllocSplitResource(void)
fprintf(stderr, "nxagentAllocSplitResource: PANIC! No more resources for the next split.\n");
#endif
/*
FIXME: Must deal with the case all resources are exausted.
FIXME: Must deal with the case all resources are exhausted.
*/
FatalError("nxagentAllocSplitResource: PANIC! No more resources for the next split.\n");
}
......
......@@ -1530,7 +1530,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask)
* position in the window tree, and pPriorParent is its previous
* parent. This function can be NULL.
*
* We simply pass this pver to the real X server.
* We simply pass this over to the real X server.
*/
void nxagentReparentWindow(WindowPtr pWin, WindowPtr pOldParent)
{
......
......@@ -342,7 +342,7 @@ extern int NXTransFlush(int fd);
* connection.
*
* NX_CHANNEL_SLAVE: The channel will forward data to a remote slave
* command (see NX_SLAVE_CMD envrionment variable)
* command (see NX_SLAVE_CMD environment variable)
*
* Only a proxy running at the NX server/X client side will be able
* to create a X, CUPS, SMB, MEDIA and HTTP channel. A proxy running
......
......@@ -144,7 +144,7 @@ class Control
T_session_mode SessionMode;
//
// Either immediate or defferred flushes.
// Either immediate or deferred flushes.
//
T_flush_policy FlushPolicy;
......
......@@ -566,7 +566,7 @@ class MessageStore
// it can contain valid data that must be
// explicitly deallocated if not needed.
// Note also that you cannot count on the
// initialization made in costructor.
// initialization made in constructor.
//
temporary_ = message;
......
......@@ -109,7 +109,7 @@ Remote port used for the connection.
.TP 8
.B retry=<int>
Number of connection atempts.
Number of connection attempts.
.TP 8
.B root=<string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment