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
3e1c4908
Commit
3e1c4908
authored
Oct 28, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use a pointer instead of an array to make gcc happy.
parent
1555f29f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
actctx.c
dlls/kernel32/tests/actctx.c
+2
-3
No files found.
dlls/kernel32/tests/actctx.c
View file @
3e1c4908
...
...
@@ -2055,7 +2055,6 @@ static void run_child_process(void)
static
void
init_paths
(
void
)
{
LPWSTR
ptr
;
WCHAR
last
;
static
const
WCHAR
dot_manifest
[]
=
{
'.'
,
'M'
,
'a'
,
'n'
,
'i'
,
'f'
,
'e'
,
's'
,
't'
,
0
};
static
const
WCHAR
backslash
[]
=
{
'\\'
,
0
};
...
...
@@ -2067,8 +2066,8 @@ static void init_paths(void)
ptr
[
1
]
=
0
;
GetCurrentDirectoryW
(
MAX_PATH
,
work_dir
);
last
=
work_dir
[
lstrlenW
(
work_dir
)
-
1
]
;
if
(
last
!=
'\\'
&&
last
!=
'/'
)
ptr
=
work_dir
+
lstrlenW
(
work_dir
)
-
1
;
if
(
*
ptr
!=
'\\'
&&
*
ptr
!=
'/'
)
lstrcatW
(
work_dir
,
backslash
);
lstrcpyW
(
work_dir_subdir
,
work_dir
);
lstrcatW
(
work_dir_subdir
,
subdir
);
...
...
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