Commit 16c938cb authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

cmd: Fix the spelling of "tilde".

parent 60b3db6b
...@@ -302,7 +302,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h) ...@@ -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) * Handle the ~ modifiers when expanding %0-9 or (%a-z/A-Z in for command)
* %~xxxxxV (V=0-9 or A-Z, a-z) * %~xxxxxV (V=0-9 or A-Z, a-z)
...@@ -333,7 +333,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h) ...@@ -333,7 +333,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h)
* Hence search forwards until find an invalid modifier, and then * Hence search forwards until find an invalid modifier, and then
* backwards until find for variable or 0-9 * 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 #define NUMMODIFIERS 11
......
...@@ -115,7 +115,7 @@ WCHAR *WCMD_parameter_with_delims (WCHAR *s, int n, WCHAR **start, BOOL raw, ...@@ -115,7 +115,7 @@ WCHAR *WCMD_parameter_with_delims (WCHAR *s, int n, WCHAR **start, BOOL raw,
BOOL wholecmdline, const WCHAR *delims); BOOL wholecmdline, const WCHAR *delims);
WCHAR *WCMD_skip_leading_spaces (WCHAR *string); WCHAR *WCMD_skip_leading_spaces (WCHAR *string);
BOOL WCMD_keyword_ws_found(const WCHAR *keyword, int len, const WCHAR *ptr); 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_strip_quotes(WCHAR *cmd);
WCHAR *WCMD_LoadMessage(UINT id); WCHAR *WCMD_LoadMessage(UINT id);
......
...@@ -853,7 +853,7 @@ static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) { ...@@ -853,7 +853,7 @@ static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {
/* Replace %~ modifications if in batch program */ /* Replace %~ modifications if in batch program */
} else if (*(p+1) == '~') { } else if (*(p+1) == '~') {
WCMD_HandleTildaModifiers(&p, atExecute); WCMD_HandleTildeModifiers(&p, atExecute);
p++; p++;
/* Replace use of %0...%9 if in batch program*/ /* Replace use of %0...%9 if in batch program*/
......
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