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
6af99937
Commit
6af99937
authored
Feb 04, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Call install_cab_file() with name directly on non-Wine.
parent
1420ef9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
install.c
dlls/mshtml/install.c
+13
-10
No files found.
dlls/mshtml/install.c
View file @
6af99937
...
...
@@ -193,18 +193,21 @@ static BOOL install_from_unix_file(const char *file_name)
close
(
fd
);
if
(
!
wine_get_dos_file_name
)
{
if
(
!
wine_get_dos_file_name
)
wine_get_dos_file_name
=
(
void
*
)
GetProcAddress
(
GetModuleHandleW
(
kernel32W
),
"wine_get_dos_file_name"
);
if
(
!
wine_get_dos_file_name
)
{
ERR
(
"Could not get wine_get_dos_file_name function.
\n
"
);
return
FALSE
;
}
}
dos_file_name
=
wine_get_dos_file_name
(
file_name
);
if
(
!
dos_file_name
)
{
ERR
(
"Could not get dos file name of %s
\n
"
,
debugstr_a
(
file_name
));
return
FALSE
;
if
(
wine_get_dos_file_name
)
{
/* Wine UNIX mode */
dos_file_name
=
wine_get_dos_file_name
(
file_name
);
if
(
!
dos_file_name
)
{
ERR
(
"Could not get dos file name of %s
\n
"
,
debugstr_a
(
file_name
));
return
FALSE
;
}
}
else
{
/* Windows mode */
UINT
res
;
WARN
(
"Could not get wine_get_dos_file_name function, calling install_cab directly.
\n
"
);
res
=
MultiByteToWideChar
(
CP_ACP
,
0
,
file_name
,
-
1
,
0
,
0
);
dos_file_name
=
heap_alloc
(
res
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
file_name
,
-
1
,
dos_file_name
,
res
);
}
ret
=
install_cab
(
dos_file_name
);
...
...
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