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
39d0dfa9
Commit
39d0dfa9
authored
Jun 30, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Add trailing '\' to gecko_path if needed.
parent
a2e94444
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
install.c
dlls/mshtml/install.c
+6
-2
No files found.
dlls/mshtml/install.c
View file @
39d0dfa9
...
...
@@ -94,8 +94,12 @@ static void set_registry(LPCSTR install_dir)
}
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
install_dir
,
-
1
,
NULL
,
0
)
-
1
;
gecko_path
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
+
sizeof
(
wszWineGecko
));
MultiByteToWideChar
(
CP_ACP
,
0
,
install_dir
,
-
1
,
gecko_path
,
-
1
);
gecko_path
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
len
+
1
)
*
sizeof
(
WCHAR
)
+
sizeof
(
wszWineGecko
));
MultiByteToWideChar
(
CP_ACP
,
0
,
install_dir
,
-
1
,
gecko_path
,
(
len
+
1
)
*
sizeof
(
WCHAR
));
if
(
len
&&
gecko_path
[
len
-
1
]
!=
'\\'
)
gecko_path
[
len
++
]
=
'\\'
;
memcpy
(
gecko_path
+
len
,
wszWineGecko
,
sizeof
(
wszWineGecko
));
size
=
len
*
sizeof
(
WCHAR
)
+
sizeof
(
wszWineGecko
);
...
...
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