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
0936f4aa
Commit
0936f4aa
authored
Aug 15, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Disable spell checker.
parent
6a951bc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
nsembed.c
dlls/mshtml/nsembed.c
+10
-0
No files found.
dlls/mshtml/nsembed.c
View file @
0936f4aa
...
...
@@ -394,6 +394,15 @@ static void set_bool_pref(nsIPrefBranch *pref, const char *pref_name, BOOL val)
ERR
(
"Could not set pref %s
\n
"
,
debugstr_a
(
pref_name
));
}
static
void
set_int_pref
(
nsIPrefBranch
*
pref
,
const
char
*
pref_name
,
int
val
)
{
nsresult
nsres
;
nsres
=
nsIPrefBranch_SetIntPref
(
pref
,
pref_name
,
val
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"Could not set pref %s
\n
"
,
debugstr_a
(
pref_name
));
}
static
void
set_preferences
(
void
)
{
nsIPrefBranch
*
pref
;
...
...
@@ -410,6 +419,7 @@ static void set_preferences(void)
set_proxy
(
pref
);
set_bool_pref
(
pref
,
"security.warn_entering_secure"
,
FALSE
);
set_bool_pref
(
pref
,
"security.warn_submit_insecure"
,
FALSE
);
set_int_pref
(
pref
,
"layout.spellcheckDefault"
,
0
);
nsIPrefBranch_Release
(
pref
);
}
...
...
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