Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
10b0b86c
Commit
10b0b86c
authored
Nov 12, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Download Gecko in DllRegisterServer.
parent
ca32265d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
main.c
dlls/mshtml/main.c
+7
-4
nsembed.c
dlls/mshtml/nsembed.c
+1
-1
No files found.
dlls/mshtml/main.c
View file @
10b0b86c
...
...
@@ -391,9 +391,6 @@ static HRESULT register_server(BOOL do_register)
if
(
FAILED
(
hres
))
ERR
(
"typelib registration failed: %08x
\n
"
,
hres
);
if
(
do_register
&&
SUCCEEDED
(
hres
))
load_gecko
(
TRUE
);
return
hres
;
}
...
...
@@ -405,7 +402,13 @@ static HRESULT register_server(BOOL do_register)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
register_server
(
TRUE
);
HRESULT
hres
;
hres
=
register_server
(
TRUE
);
if
(
SUCCEEDED
(
hres
))
load_gecko
(
FALSE
);
return
hres
;
}
/***********************************************************************
...
...
dlls/mshtml/nsembed.c
View file @
10b0b86c
...
...
@@ -1615,7 +1615,7 @@ NSContainer *NSContainer_Create(HTMLDocumentObj *doc, NSContainer *parent)
NSContainer
*
ret
;
nsresult
nsres
;
if
(
!
load_gecko
(
FALS
E
))
if
(
!
load_gecko
(
TRU
E
))
return
NULL
;
ret
=
heap_alloc_zero
(
sizeof
(
NSContainer
));
...
...
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