cmd: Fix the spelling of "tilde".
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
60b3db6b98
commit
16c938cb66
|
@ -302,7 +302,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h)
|
|||
}
|
||||
|
||||
/****************************************************************************
|
||||
* WCMD_HandleTildaModifiers
|
||||
* WCMD_HandleTildeModifiers
|
||||
*
|
||||
* Handle the ~ modifiers when expanding %0-9 or (%a-z/A-Z in for command)
|
||||
* %~xxxxxV (V=0-9 or A-Z, a-z)
|
||||
|
@ -333,7 +333,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h)
|
|||
* Hence search forwards until find an invalid modifier, and then
|
||||
* backwards until find for variable or 0-9
|
||||
*/
|
||||
void WCMD_HandleTildaModifiers(WCHAR **start, BOOL atExecute)
|
||||
void WCMD_HandleTildeModifiers(WCHAR **start, BOOL atExecute)
|
||||
{
|
||||
|
||||
#define NUMMODIFIERS 11
|
||||
|
|
|
@ -115,7 +115,7 @@ WCHAR *WCMD_parameter_with_delims (WCHAR *s, int n, WCHAR **start, BOOL raw,
|
|||
BOOL wholecmdline, const WCHAR *delims);
|
||||
WCHAR *WCMD_skip_leading_spaces (WCHAR *string);
|
||||
BOOL WCMD_keyword_ws_found(const WCHAR *keyword, int len, const WCHAR *ptr);
|
||||
void WCMD_HandleTildaModifiers(WCHAR **start, BOOL atExecute);
|
||||
void WCMD_HandleTildeModifiers(WCHAR **start, BOOL atExecute);
|
||||
|
||||
WCHAR *WCMD_strip_quotes(WCHAR *cmd);
|
||||
WCHAR *WCMD_LoadMessage(UINT id);
|
||||
|
|
|
@ -853,7 +853,7 @@ static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {
|
|||
|
||||
/* Replace %~ modifications if in batch program */
|
||||
} else if (*(p+1) == '~') {
|
||||
WCMD_HandleTildaModifiers(&p, atExecute);
|
||||
WCMD_HandleTildeModifiers(&p, atExecute);
|
||||
p++;
|
||||
|
||||
/* Replace use of %0...%9 if in batch program*/
|
||||
|
|
Loading…
Reference in New Issue