Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
16c938cb
Commit
16c938cb
authored
Apr 25, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Fix the spelling of "tilde".
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
60b3db6b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
batch.c
programs/cmd/batch.c
+2
-2
wcmd.h
programs/cmd/wcmd.h
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+1
-1
No files found.
programs/cmd/batch.c
View file @
16c938cb
...
...
@@ -302,7 +302,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h)
}
/****************************************************************************
* WCMD_HandleTild
a
Modifiers
* WCMD_HandleTild
e
Modifiers
*
* 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_HandleTild
a
Modifiers
(
WCHAR
**
start
,
BOOL
atExecute
)
void
WCMD_HandleTild
e
Modifiers
(
WCHAR
**
start
,
BOOL
atExecute
)
{
#define NUMMODIFIERS 11
...
...
programs/cmd/wcmd.h
View file @
16c938cb
...
...
@@ -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_HandleTild
a
Modifiers
(
WCHAR
**
start
,
BOOL
atExecute
);
void
WCMD_HandleTild
e
Modifiers
(
WCHAR
**
start
,
BOOL
atExecute
);
WCHAR
*
WCMD_strip_quotes
(
WCHAR
*
cmd
);
WCHAR
*
WCMD_LoadMessage
(
UINT
id
);
...
...
programs/cmd/wcmdmain.c
View file @
16c938cb
...
...
@@ -853,7 +853,7 @@ static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {
/* Replace %~ modifications if in batch program */
}
else
if
(
*
(
p
+
1
)
==
'~'
)
{
WCMD_HandleTild
a
Modifiers
(
&
p
,
atExecute
);
WCMD_HandleTild
e
Modifiers
(
&
p
,
atExecute
);
p
++
;
/* Replace use of %0...%9 if in batch program*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment