From 8b3d4942476b288fa52c07cadd3c3c0367d0c8fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Fri, 28 Sep 2012 11:13:15 +0200 Subject: [PATCH] cmd: Spelling fixes. --- programs/cmd/batch.c | 4 ++-- programs/cmd/wcmdmain.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/cmd/batch.c b/programs/cmd/batch.c index d24b11e7adb..4926b1f2f91 100644 --- a/programs/cmd/batch.c +++ b/programs/cmd/batch.c @@ -117,7 +117,7 @@ void WCMD_batch (WCHAR *file, WCHAR *command, BOOL called, WCHAR *startLabel, HA * n [I] # of the parameter to return, counted from 0 * start [O] Optional. Pointer to the first char of param n in s * end [O] Optional. Pointer to the last char of param n in s - * raw [I] True to return the parameter in raw format (quotes maintainted) + * raw [I] True to return the parameter in raw format (quotes maintained) * False returns the parameter with quotes stripped * * RETURNS @@ -152,7 +152,7 @@ WCHAR *WCMD_parameter (WCHAR *s, int n, WCHAR **start, WCHAR **end, BOOL raw) p++; if (*p == '\0') return param; - /* If we have reached the token number we want, remember the beginning of it if it */ + /* If we have reached the token number we want, remember the beginning of it */ if (start != NULL && curParamNb == n) *start = p; /* Return the whole word up to the next delimiter, handling quotes in the middle diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index c0d49252060..82ec153617d 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -1852,7 +1852,7 @@ WCHAR *WCMD_ReadAndParseLine(const WCHAR *optionalcmd, CMD_LIST **output, HANDLE curRedirsLen = 0; curCopyTo = curString; curLen = &curStringLen; - lastWasRedirect = FALSE; /* Required for eg spaces between > and filename */ + lastWasRedirect = FALSE; /* Required e.g. for spaces between > and filename */ /* Parse every character on the line being processed */ while (*curPos != 0x00) { @@ -1864,7 +1864,7 @@ WCHAR *WCMD_ReadAndParseLine(const WCHAR *optionalcmd, CMD_LIST **output, HANDLE lastWasWhiteSpace, onlyWhiteSpace); */ - /* Prevent overflow caused by the caret escape char*/ + /* Prevent overflow caused by the caret escape char */ if (*curLen >= MAXSTRING) { WINE_ERR("Overflow detected in command\n"); return NULL; @@ -2202,7 +2202,7 @@ WCHAR *WCMD_ReadAndParseLine(const WCHAR *optionalcmd, CMD_LIST **output, HANDLE if (!WCMD_fgets(extraData, MAXSTRING, readFrom)) break; - /* Edge case for carets - a completely blank line (ie was just + /* Edge case for carets - a completely blank line (i.e. was just CRLF) is oddly added as an LF but then more data is received (but only once more!) */ if (lastWasCaret) {