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
80bc3838
Commit
80bc3838
authored
Apr 11, 2013
by
Sergey Guralnik
Committed by
Alexandre Julliard
Apr 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extrac32: Avoid appending redundant backslash to path end.
parent
7925c9b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
extrac32.c
programs/extrac32/extrac32.c
+1
-2
No files found.
programs/extrac32/extrac32.c
View file @
80bc3838
...
@@ -200,7 +200,6 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
...
@@ -200,7 +200,6 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
int
i
;
int
i
;
WCHAR
check
,
cmd
=
0
;
WCHAR
check
,
cmd
=
0
;
WCHAR
path
[
MAX_PATH
];
WCHAR
path
[
MAX_PATH
];
WCHAR
backslash
[]
=
{
'\\'
,
0
};
LPCWSTR
cabfile
=
NULL
;
LPCWSTR
cabfile
=
NULL
;
path
[
0
]
=
0
;
path
[
0
]
=
0
;
...
@@ -273,7 +272,7 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
...
@@ -273,7 +272,7 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
if
(
cmd
==
'E'
&&
!
path
[
0
])
if
(
cmd
==
'E'
&&
!
path
[
0
])
GetCurrentDirectoryW
(
MAX_PATH
,
path
);
GetCurrentDirectoryW
(
MAX_PATH
,
path
);
lstrcatW
(
path
,
backslas
h
);
PathAddBackslashW
(
pat
h
);
/* Execute the specified command */
/* Execute the specified command */
switch
(
cmd
)
switch
(
cmd
)
...
...
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