Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0d2fa77c
Commit
0d2fa77c
authored
Nov 01, 2002
by
Stefan Leichter
Committed by
Alexandre Julliard
Nov 01, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove quotes from filename before calling LoadLibrary in DoLaunch.
parent
d7e28478
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
control.c
dlls/shell32/control.c
+4
-0
No files found.
dlls/shell32/control.c
View file @
0d2fa77c
...
...
@@ -309,12 +309,14 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCSTR cmd)
* foo.cpl,,str
* foo.cpl @sp
* foo.cpl str
* "a path\foo.cpl"
*/
{
char
*
buffer
;
char
*
beg
=
NULL
;
char
*
end
;
char
ch
;
char
*
ptr
;
unsigned
sp
=
0
;
char
*
extraPmts
=
NULL
;
int
quoted
=
0
;
...
...
@@ -344,6 +346,8 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCSTR cmd)
}
end
++
;
}
while
(
ptr
=
strchr
(
buffer
,
(
int
)
'"'
))
memmove
(
ptr
,
ptr
+
1
,
strlen
(
ptr
));
TRACE
(
"cmd %s, extra %s, sp %d
\n
"
,
buffer
,
debugstr_a
(
extraPmts
),
sp
);
...
...
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